Markus Schirp
36aedc9a5a
Catch more cases to preserve self.class
2012-12-30 01:03:31 +01:00
Markus Schirp
07bb7b5bf6
Do not mutate underscore prefixed args or lvars
2012-12-29 23:07:45 +01:00
Markus Schirp
a06030ef06
Take care to not mutate self.class
into class
2012-12-29 22:51:42 +01:00
Markus Schirp
fce6d5c06e
Metric diven cleanups and break large classes
...
* Formal argument mutations are still very dirty :(
2012-12-29 20:12:48 +01:00
Markus Schirp
3026572b50
Deduplicate util array and literal hash mutations
2012-12-29 16:53:52 +01:00
Markus Schirp
913a3fdbf1
Move emit_values helper to correct subclass
2012-12-29 16:34:39 +01:00
Markus Schirp
22a5cda3f0
Add unary call mutation
2012-12-29 16:12:55 +01:00
Markus Schirp
a8aeb0f2f6
Remove special case for block given
2012-12-29 16:12:55 +01:00
Markus Schirp
3dc23c5238
Mutate method call receivers
2012-12-29 16:12:55 +01:00
Markus Schirp
306d4e3225
Correctly set file and line of injected mutants
2012-12-14 19:53:37 +01:00
Markus Schirp
90f037d20e
Remove unused file
2012-12-12 22:58:58 +01:00
Markus Schirp
1d12ba0611
Adjust scores and do a little metric driven refactoring
2012-12-12 22:45:47 +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
386a2bc2df
Fix constant scope mutations are emitted in
2012-12-12 22:11:35 +01:00
Markus Schirp
1d8ec00b36
Use inflector from git source
2012-12-12 20:15:25 +01:00
Markus Schirp
cb3a480fb5
Merge tag 'v0.2.4'
...
Conflicts:
Changelog.md
2012-12-12 18:27:10 +01:00
Markus Schirp
b257a377f9
Correctly vendor inflector
2012-12-12 18:24:36 +01:00
Markus Schirp
8874ab5c28
Do not ship vendored inflector anymore
2012-12-12 17:52:47 +01:00
Markus Schirp
71eb4452ac
Correctly report noop mutation
2012-12-12 17:52:24 +01:00
Markus Schirp
066f743750
Do not special case initialize methods in rspec-dm2 example lookup
2012-12-11 00:39:29 +01:00
Markus Schirp
1fcc9cc40b
Handle Rubinius::AST::Break as noop
2012-12-11 00:38:44 +01:00
Markus Schirp
c4caefa706
Handle Rubinius::AST::Next as noop mutator
2012-12-11 00:26:58 +01:00
Markus Schirp
60211338aa
Correctly guard against running mutations in subject where noop failed
2012-12-11 00:23:44 +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
5fed2cb57f
Also mutate define arguments
2012-12-10 17:26:56 +01:00
Markus Schirp
de276327f5
Add support for mutating block arguments
2012-12-10 17:11:08 +01:00
Markus Schirp
f6edfb06de
Fix crashes from veritas
2012-12-08 03:11:26 +01:00
Markus Schirp
8a4fad0973
Prepend additional elements to datastructurs instead of append
...
* This makes it far more likely the elements are used in paralel
assignment. Credits for idea @snusnu!
2012-12-08 01:53:54 +01:00
Markus Schirp
88e1f0941c
Add unary operator expansions
2012-12-08 01:04:43 +01:00
Markus Schirp
bc408d52d2
Add a shitload of operator expansions
2012-12-08 00:52:03 +01:00
Markus Schirp
b5430e2000
Cleanup crashes and invalid mutants
2012-12-07 23:27:21 +01:00
Markus Schirp
aae3b25f99
Expand writer methods correctly to spec files
2012-12-07 20:13:19 +01:00
Markus Schirp
ba13408afa
Report to stdout per default
2012-12-07 19:10:12 +01:00
Markus Schirp
6a935fecf0
Expand foo= to foo_writer_spec.rb in dm-2 strategy
2012-12-07 19:06:56 +01:00
Markus Schirp
3fc07deaff
Make sure mutation is inserted after fork
2012-12-07 18:53:03 +01:00
Markus Schirp
80f0960672
Warn with identification when no spec files are present
2012-12-07 18:45:45 +01:00
Markus Schirp
2761952b47
Handle Rubinius::AST::While with noop mutator
2012-12-07 18:33:13 +01:00
Markus Schirp
508c37e747
Workaround visibility change through loader
2012-12-07 17:27:36 +01:00
Markus Schirp
fa36323fcd
Improve reporting to show only uncovered mutations
2012-12-07 17:14:18 +01:00
Markus Schirp
ef25d84326
Correct method expansion
2012-12-07 17:00:31 +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
31d718c46d
Remove reset functionallity we'll add mutations in forked processes
2012-12-07 16:32:13 +01:00
Markus Schirp
e0df644a7a
Move reporter stats into own file and cleanup 18 spec
2012-12-07 15:59:37 +01:00
Markus Schirp
217aa9183c
Remove 18mode check from helpers
2012-12-07 14:36:23 +01:00
Markus Schirp
8ef816d012
Correct vendoring of inflector
2012-12-07 13:08:55 +01:00
Markus Schirp
791cb17121
Vendor the inflector for now
2012-12-07 12:55:04 +01:00
Markus Schirp
083eb50b75
Hande Rubinius::AST::File as noop
2012-12-06 22:38:40 +01:00
Markus Schirp
2c173436f6
Correct name of toplevel constant node
2012-12-06 22:36:14 +01:00
Markus Schirp
3b3333f9ba
Register Rubinius::AST::TopLevelConstant under noop mutator
2012-12-06 22:35:23 +01:00
Markus Schirp
adadc01f32
Cleanup docs for hash literal mutator
2012-12-06 22:33:06 +01:00