Commit graph

28 commits

Author SHA1 Message Date
Markus Schirp
473aeace90 Fix neutral/vs noop mutation naming 2014-07-05 23:32:07 +00:00
Markus Schirp
3390d59954 Fix naming of Expression.{try_,}_parse
* try_parse is now the one that does not raise
* parse is now the one that does rase
2014-06-29 23:16:36 +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
0bfe69bdaa Perform test matching on Mutant::Expression instances 2014-06-28 20:47:46 +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
df9207cad4 Undefine methods before loading mutants
* Closes #163
2014-03-14 21:34:51 +00:00
Markus Schirp
681b51f6ac Fix multiple diff reporter errors on memoizers
Closes #130
2013-10-30 09:08:10 +01:00
Markus Schirp
f70dc6703f Initial rspec killer with "longes description prefix match" 2013-08-04 18:49:42 +02: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
8a6a51fd08 Add support for --fail-fast flag
* Some long planned runner design changes.
* It now also uses the emitter pattern
2013-07-15 01:17:15 +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
Markus Schirp
7ae6e09908 Fix object cycle
Strategy currently does not need to be initialized with config.
2013-06-15 16:32:40 +02:00
Markus Schirp
c2e45e6b42 Deduplicate and correct singleton and instance method subjects 2013-06-14 21:12:10 +02:00
Markus Schirp
67376694c5 Use parser API in mutation subjects 2013-06-14 21:12:10 +02:00
Dan Kubb
c3c0e06c86 Fix whitespace 2013-04-17 20:31:21 -07:00
Markus Schirp
5b3d506523 Reconnect API changes for successful spec run
Sorry this looks like spiking around and yeah it was some kind of.
2013-01-22 00:00:30 +01:00
Markus Schirp
d41d7eddb0 Refactor reporter infrastructure 2013-01-15 23:46:05 +01:00
Markus Schirp
151fd08439 Cleanup leaked changes from refactoring 2013-01-14 13:36:26 +01:00
Markus Schirp
d34d8565d2 Add method specific subject subclass 2013-01-13 22:25:49 +01:00