Markus Schirp
f70dc6703f
Initial rspec killer with "longes description prefix match"
2013-08-04 18:49:42 +02:00
Dan Kubb
7293386c26
Add magic encoding header to all ruby files
...
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
it produces less output on travis.
2013-07-28 16:03:06 -07:00
Markus Schirp
e7debcb801
Fix style issues in Killer::Rspec
2013-07-29 00:25:15 +02:00
Jesse Kempf
c923e1b5ed
Surface the output of rspec failures when killing noop mutants.
2013-07-25 21:13:29 -07:00
Dan Kubb
59f952d56f
Remove rescue from rspec killer
...
* Based on recent discussions in #68 we think rescuing all
exceptions like this was probably a mistake.
If this continues to be a problem we will need to narrow things
down to a reproducible issue we can report to the RSpec team.
One possible work-around might be to catch exceptions that occur
within the specs themselves, and to bubble up everything else.
However, this does bring up the question of why the specs failed;
if it was due to a syntax error caused by mutant and unparser,
then that's probably a bug we need to fix. It could be for some
other reason, which we would have to isolate and handle
explicitly, but I think we are all in agreement that this logic is
too broad.
2013-07-21 23:14:57 -07:00
Markus Schirp
13719eb0d3
Singnal killer status NOT success status
...
success depends on mutation type!
2013-07-05 00:20:45 +02:00
Dan Kubb
6cb9c76953
Change Mutant::Killer::Rspec#run to rescue errors from RSpec
2013-06-24 01:38:37 -07:00
Markus Schirp
1f25ab3ded
Cosmetic end comments
2013-06-14 21:12:10 +02:00
Dan Kubb
10b1e106ff
Add require stringio temporarily to rspec killer
2013-04-17 20:38:42 -07:00
Dan Kubb
bf06f6b056
Fix code to no longer reference non-existent methods
...
* This code is not final, but I could not figure out a clean way to
reference the error and output stream from this method.
2013-04-17 20:34:24 -07:00
Dan Kubb
c3c0e06c86
Fix whitespace
2013-04-17 20:31:21 -07:00
Markus Schirp
277a29aba5
Cleanup killers
2013-02-01 23:39:00 +01:00
Markus Schirp
5b3d506523
Reconnect API changes for successful spec run
...
Sorry this looks like spiking around and yeah it was some kind of.
2013-01-22 00:00:30 +01:00
Markus Schirp
d41d7eddb0
Refactor reporter infrastructure
2013-01-15 23:46:05 +01:00
Markus Schirp
c9d762dbe9
Add better rspec dm2 spec lookup
2013-01-13 23:48:18 +01:00
Markus Schirp
40d5230c68
Introduce noop mutation guards and argument mutators
...
* Sorry for not splitting up into smaller commit
2012-12-11 00:17:19 +01:00
Markus Schirp
3fc07deaff
Make sure mutation is inserted after fork
2012-12-07 18:53:03 +01:00
Markus Schirp
7be00708b6
Improve rspec dm2 strategy
...
* Expand foo? to foo_predicate_spec.rb
* Expand foo! to foo_bang_spec.rb
* Execute all public method specs on mutation of private method
* Warn on stderr when no spec file was found (better than nothing to be
iproved later)
2012-12-07 16:57:42 +01:00
Markus Schirp
9533a92bb7
Default to forking killer
...
* Remove rspec world preserving will never work correctly
* Add new unmutated nodes to noop mutators
2012-12-04 19:38:58 +01:00
Markus Schirp
8c3cc4a18c
Add rspec world preserve hack
2012-12-04 18:23:56 +01:00
Markus Schirp
70060caf5d
Cleanup rspec runner and extract unused code
2012-11-24 17:06:33 +01:00
Markus Schirp
a5f387eafd
Do not nest rspec killer
2012-11-22 02:50:17 +01:00
Markus Schirp
86acb3a409
Cleanup killers and add executable to gemspec
2012-11-22 01:42:10 +01:00
Markus Schirp
dffe2a26e6
Add strategy objects
2012-11-22 00:10:50 +01:00
Markus Schirp
02a909efda
Generalize forking and non forking killers
2012-11-21 22:55:53 +01:00
Markus Schirp
dc083547f5
Connect cli with runner.
...
Only supports the testing of testapp... but time will come!
2012-11-21 22:28:08 +01:00
Markus Schirp
ccbe2f6396
Mark failing specs as panding and use attr_reader again
2012-10-26 11:24:29 +02:00
Markus Schirp
9fcb271637
General source code beautifications
2012-10-19 23:34:19 +02:00
Markus Schirp
3738254317
Cleanup whitespace
2012-08-28 19:43:53 +02:00
Markus Schirp
d6a3ecb00f
Allow to select forking rspec killer via subclass
2012-08-28 19:14:10 +02:00
Markus Schirp
459d028de1
Add a working mutation tester for mutant
...
* Expand attr_reader :name, to def name; @name; end
As attr_reader defined methods do not have a valid source location.
* Expose more internal state to allow the generation of nice match
identifications. Needs to be cleaned up.
2012-08-20 17:53:41 +02:00
Markus Schirp
42e6fe84e5
Add runner with reporter
...
* Use MethodObject mixin
* Rename Context::Constant to Context::Scope
* Use Mutation class instead of passing around raw nodes
2012-08-16 04:10:54 +02:00
Markus Schirp
23ee68ac1e
Rename Runner to Killer
...
* Add working integration spec for rspec (mutant) killer.
2012-08-14 12:27:56 +02:00