Commit graph

11 commits

Author SHA1 Message Date
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
3e1f9c408f Cleanup and dedup mutation generation
* Mutator and Generator where merged.
* A single pass over all duplications was made.
* It is clear a specific handles?(node) code for finding mutators
  is needed. Like virtus does for attributes, should also cache.
* Does not pass on 1.9 mode currently as blocks are unexpectly parsed
  differend when it comes to a series of literal booleans.
2012-07-31 04:00:05 +02:00
Markus Schirp
993f08d975 Remove explict argument to to_enum in method matcher 2012-07-29 22:44:53 +02:00
Markus Schirp
d0524f1724 Cleanup Mutant::Method::Classifier
* Use constants instead of magic numbers
* Use regexp literal. Dunno why it was not used.
* Freeze constants
2012-07-29 21:48:20 +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
Markus Schirp
d74481b8fb Cleanup whitespace after comma 2012-07-23 23:03:55 +02:00
Markus Schirp
ffceb9d81d Rename method in classifier to be more explict 2012-07-23 23:02:00 +02:00
Markus Schirp
3caf012eb9 Remove dead code 2012-07-23 23:01:04 +02:00
Markus Schirp
dd34e29ce9 Cleanup classifier method nameing and placement 2012-07-23 22:57:42 +02:00
Markus Schirp
df6ccafeab Add method matcher infrastructure
Needs more specs for sure. Especially edge cases.
2012-07-23 22:54:35 +02:00