Commit graph

9 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
3390abc675 Use environment object inside matchers
This will allow to use reporters from matchers avoiding stupid direct
writes to $stderr.

Also it will allow to remove matching from CLI altogether in a phase of
the runner. Allowing to decouple Mutant::Config from VM environment
allowing to serialize it ;)

Step by step. Takes a while.
2014-06-30 13:08:52 +00:00
Markus Schirp
98618abcfe Remove useless comment and fix yard docs 2014-06-26 21:43:58 +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
c5f5d595ca Correctly avoid mutations that produce differend AST but same source
* Add detection for this case in Example::Verification
* Revert source location killing Normalization after parse.
* Closes #198
2014-06-09 14:56:15 +00:00
Markus Schirp
d0d1bb2464 Normalize ASTs prior to mutation
This avoids situartions where the source contains (begin, other)
nodes that get mutated to (other) where there is no difference in the
source.

Closes #198
2014-06-08 11:53:50 +00: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
49133680ee Add AST caching for subject matcher
At least this dramatically speeds up unit tests. And this is a good
thing.
2013-06-27 22:18:07 +02:00