Commit graph

24 commits

Author SHA1 Message Date
Markus Schirp
356820c4af Do not explicitly capture StandardError 2013-01-09 23:03:01 +01:00
Markus Schirp
66b09f8d8a Do not rescue all exceptions from mutation insertion 2013-01-08 09:34:24 +01:00
Markus Schirp
c0fa278f19 Count exception between mutation insertion and spec run as kill 2013-01-05 22:59:32 +01:00
Markus Schirp
93556763dd Bring back yard coverage to 100%
Also do some minor refactorings
2012-12-12 22:31:27 +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
939e25cb4a Correctly propagnate exit status of forking killers 2012-12-05 16:44:26 +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
fb8bb2ed24 Add static fail and success strategies
* Useful for benchmarking
2012-11-22 03:00:36 +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