Commit graph

19 commits

Author SHA1 Message Date
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
97a75dd062 Cleanup mutation generation
This is a reaction to the to_source rewrite

* Do not use 1.8 specific nodes anymore
* Do not generate AST nodes that would not be generatable from source
2013-01-09 20:43:06 +01:00
Markus Schirp
3dc23c5238 Mutate method call receivers 2012-12-29 16:12:55 +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
b5430e2000 Cleanup crashes and invalid mutants 2012-12-07 23:27:21 +01:00
Markus Schirp
5a2f71abec Fix shared mutator spec failure reporting 2012-12-06 19:51:48 +01:00
Markus Schirp
000380c1e0 Emit vcall mutation again 2012-12-06 12:32:16 +01: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
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
6f8d4e1cfa Do not create empty blocks on mutations 2012-08-13 20:40:00 +02:00
Markus Schirp
5e7600e573 Refactor spec on method filter parsing 2012-08-09 19:38:36 +02:00
Markus Schirp
8810c6e009 Rename Mutantee to Subject 2012-08-01 18:34:03 +02:00
Markus Schirp
414c572d03 Rename shared mutation examples 2012-08-01 14:58:24 +02:00
Markus Schirp
fb7bb942a3 Add mutation of simple send without arguments
* Lets the block spec work again as 1.8 and 1.9 mode do not behave
  differend as with literals.
2012-08-01 13:53:28 +02:00
Markus Schirp
b9b95ebe94 Break up mutation spec in class specific files
* Also add mutation class registry to improve readability.
* Calling mutations are still broken.
2012-08-01 13:27:35 +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
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
df6ccafeab Add method matcher infrastructure
Needs more specs for sure. Especially edge cases.
2012-07-23 22:54:35 +02:00