Commit graph

32 commits

Author SHA1 Message Date
Markus Schirp
fa3e77f981 Add Mutant::Zombifier
That stuff acutally works!
2013-06-28 23:23:05 +02:00
Markus Schirp
2813c081dc Add spec to ensure all nodes are handled 2013-06-21 18:10:06 +02:00
Markus Schirp
5efd17d4e3 Mark zombie specs as pending 2013-06-14 21:12:10 +02:00
Markus Schirp
ecb5be355f Add unit spec for singleton method matchers
Also remove old method integration spec
2013-04-27 18:07:04 +02:00
Dan Kubb
c3c0e06c86 Fix whitespace 2013-04-17 20:31:21 -07:00
Markus Schirp
a3fc233d95 Reorganize classifiers
* Classifiers are matcher subclass and delegate to lazy builded matcher
  interfaces
* Solves chicken egg problem between target library load and classifier
  matcher instantiation
2013-01-21 20:08:30 +01:00
Markus Schirp
3562d4f627 Load spec_helper.rb for rspec strategies 2013-01-18 21:38:46 +01:00
Markus Schirp
151fd08439 Cleanup leaked changes from refactoring 2013-01-14 13:36:26 +01:00
Markus Schirp
a0933916ca Simplify method matching integration spec
Should be converted to a unit spec soon
2013-01-14 12:54:53 +01:00
Markus Schirp
306d4e3225 Correctly set file and line of injected mutants 2012-12-14 19:53:37 +01:00
Markus Schirp
386a2bc2df Fix constant scope mutations are emitted in 2012-12-12 22:11:35 +01:00
Markus Schirp
0c41c9f8e0 Add multi subject integration spec 2012-11-24 17:39:27 +01:00
Markus Schirp
7a471875fc Publish exit status of CLI runner in executable 2012-11-24 17:36:47 +01:00
Markus Schirp
001f3c7d99 Make mutant run under MRI 1.9.
* Add a Mutant::Loader::Eval that loads code via Kernel#eval
* Move Mutnat::Loader to Mutant::Loader::Rubinius (currently not used)
2012-11-21 20:31:01 +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
cd35a6dcc6 Refactor runner and fix integration spec 2012-09-16 00:51:47 +02:00
Markus Schirp
933364b800 Use dkubb/equalizer and remove vendored version 2012-09-15 23:04:10 +02:00
Markus Schirp
2cec22b76b Cleanup expectations in integration test 2012-08-20 17:55:22 +02:00
Markus Schirp
21b6aa1e81 Minor cleanups
* Use correct to_source api
* Use toplevel mutant.
2012-08-20 04:50:07 +02:00
Markus Schirp
7d8c1f02ff Add support for dynamically creating Zombie
* Zombie is subjected to allow the mutation of the mutator source code.
2012-08-19 21:29:11 +02:00
Markus Schirp
583668138e Add mutations on singleton methods
* Fixing singleton matcher to return Rubiniuy::AST::DefineSingleton
  and not Rubinius::AST::DefineSingletonScope
* Adjust counts of runner spec
2012-08-16 19:10:24 +02:00
Markus Schirp
cee1d3943c Add colorized diffs to cli reporter 2012-08-16 18:02:03 +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
d20655f4c2 Add a spike runner 2012-08-14 22:45:34 +02:00
Markus Schirp
a11803f0c8 Move integration specs into correct directory 2012-08-14 12:42:21 +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
Markus Schirp
e238890f2c Remove legacy guards for non rbx environment in specs 2012-08-10 20:23:39 +02:00
Markus Schirp
db96c0cfab Fix whitespace ater comma 2012-08-01 13:30:08 +02:00
Markus Schirp
d50ecc483d Cleanup missing whitespace after comma
* There must be a code metric tool helping me in converting my style.
2012-07-31 04:10:37 +02:00
Markus Schirp
69cda2fb14 Add first code loading integration spec
* The exact procedure of loading needs more
  care to be better understod.
* Fix problems found while loading.
2012-07-27 00:24:11 +02:00
Markus Schirp
10c3dfc390 Finalize method matching
* Add tests for all edge cases I could create
* Add infrastructure for loading mutations into the vm.
* The fun part is next!
2012-07-26 19:25:23 +02:00
Markus Schirp
dc893bfd7d Progress on method matching
* Adjust metrics
* Add initial integration spec on method matching
* Yard and Heckle coverage is at 100% (heckle cov is disputable)
* Rcov does not really make sense as MRI 1.8 cannot reach all code
  paths.
2012-07-24 01:41:08 +02:00