Commit graph

20 commits

Author SHA1 Message Date
Markus Schirp
3efbfd2dad Move corpus test infrastructure into spec/support 2014-07-12 16:26:28 +00:00
Markus Schirp
914c7cbc1d Replace unmutated empty array literals with frozen EMPTY_ARRAY 2014-07-08 10:42:57 +00:00
Dan Kubb
8f2dc9dc90 Move RUBY_ENGINE test outside of the runtime method 2014-07-06 17:24:14 -07:00
Dan Kubb
2c13a79147 Add list of methods that will warn when undefined 2014-07-06 17:23:57 -07:00
Dan Kubb
21d5fe5dfb Fix code alignment 2014-07-06 17:23:17 -07:00
Markus Schirp
473aeace90 Fix neutral/vs noop mutation naming 2014-07-05 23:32:07 +00:00
Markus Schirp
13cd04d9be Introduce AST::Meta to externalize semantic analysis
* Add Mutant::AST namespace to hold all AST related data / helpers.
* Mutant::AST will be externalized into an ast-meta gem that can be
  shared with unparser for deduplication.
* Over the time the mutators itself will not need to deal with semantic
  analysis of the AST anymore by themselves.
* Move AST analysis for send nodes to AST::Meta
* Fix #209
2014-06-29 21:26:58 +00:00
Markus Schirp
5fdaf9de15 Kill redundant YARD docs 2014-06-15 19:28:57 +00:00
Markus Schirp
a19f3b1691 Nuke UTF-8 encoding headers
* I do not use 1.9.3
* Also keeping them in each file increases mental overhead (true it *can* be autoamted)
* None of the files encodes NON ASCII chars.
* I do not expect it makes any difference, since nobody programmatically
  will consume strings generated by mutant under the assumption they are UTF-8 encoded.
* 1.9.3 Users have to deal with the encoding fuckup under ruby anyways.
2014-06-09 15:37:48 +00:00
Markus Schirp
822ddd799f Make non mri specific specs pass under RBX 2014-06-08 19:51:04 +00:00
Markus Schirp
5f6ff99ece Consolidate ruby style 2014-05-27 15:16:37 +00:00
Markus Schirp
061ab04a36 Minimize cross inheritance duplication 2014-05-11 21:15:05 +00:00
Markus Schirp
85061dee96 Add warning expecatation filter for undef initialize
* Closes #175
2014-04-22 19:00:12 +00:00
Markus Schirp
df7de1ee86 Delete memoizer on Subject#prepare 2014-03-28 15:42:46 +00:00
Markus Schirp
15dc96f112 Fix undef before insertion for singleton methods 2014-03-15 17:00:20 +00:00
Markus Schirp
681b51f6ac Fix multiple diff reporter errors on memoizers
Closes #130
2013-10-30 09:08:10 +01:00
Dan Kubb
7293386c26 Add magic encoding header to all ruby files
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
  it produces less output on travis.
2013-07-28 16:03:06 -07:00
Markus Schirp
e79443e17d Bring subject mutator refactoring to memoized subject
* This lib shows more and more sights of missing mutation coverage.
2013-07-15 23:19:53 +02:00
Markus Schirp
023df844f9 Correctly emit memoizers for memoized method mutations 2013-07-05 13:28:21 +02:00
Markus Schirp
47bca3fa1f Correct mutation of adamantium memoized methods 2013-07-05 01:14:05 +02:00