Commit graph

23 commits

Author SHA1 Message Date
Markus Schirp
8335cccafb Fix YARD summary line
* Reduce redunrant 'Return' prefix on summaries
* Improve summary line to reflect the semantics of operation better
2015-07-03 15:21:39 +00:00
Markus Schirp
4bd15abeb6 Fix positioning of @api YARD tag 2015-07-02 03:35:54 +00:00
Markus Schirp
d647563055 Refactor expression parsing and representation
* Avoids boot time mutation of REGISTER constant
* Allows to define project specific expression parsing
* Avoids custom (slow) serialization of Expression objects speeding up
  reporter / killer IPC
* Improve specification
* Improve integration API as it now finally references an object the config
* Allow reproduction of syntax from Expression#syntax
* Allow instantiation of Expresssion objects without generating the
  syntax, much nicer for most specs & internal code, avoids generating
  a string to parse it into an expression
* Fix LSP violation in Mutant::Matcher namespace
2015-06-21 14:44:33 +00:00
Markus Schirp
22a8c8f271 Add specification for Subject::Method#match_expressions 2014-10-08 15:16:05 +00:00
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
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
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
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
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
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