Commit graph

16 commits

Author SHA1 Message Date
Markus Schirp
5e7bfc0812 Use frozen constant instead of unmutated mutable literal 2014-07-06 03:43:23 +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
017ccc1044 Add expression => self mutation
Also reorganizes parts of meta to align filenames to node name better.

Closes #191
2014-06-05 17:48:39 +00:00
Markus Schirp
caf6c368d0 Remove indeterministic mutations
A mutation test that passes/fails on code today should also pass/fail on
the same code tomorrow.

* Closes #173
* Closes #127
* Closes #27
2014-05-10 14:37:25 +00:00
Markus Schirp
77263f4a14 Emit random names as symbolx 2014-04-12 01:17:27 +00:00
Dan Kubb
475512146f Change emit_nil to not emit on the left node of an assignment
* Add emit_nil to other nodes so that they can be replaced
  with nil, effectively removing them from the code.
2013-09-07 23:57:47 -07:00
Markus Schirp
9523c66726 Use 1.9 style hash syntax where possible 2013-09-07 20:27:06 +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
1105d2c6ce Fix rubocop warnings in Mutant::Mutator namespace 2013-07-27 20:21:27 +02:00
Dan Kubb
345b67144a Add const mutator
* The const node has children, which need to be mutated
2013-07-23 21:57:39 -07:00
Dan Kubb
23a84df277 Add mutator for self nodes 2013-07-23 00:43:48 -07:00
Dan Kubb
1e14b7f703 Add constant assignment mutator 2013-07-23 00:23:21 -07:00
Dan Kubb
e15fd87a93 Change variable interpolation into simpler to read statement 2013-07-23 00:23:03 -07:00
Dan Kubb
1d18ce5a7a Rename Assignment as VariableAssignment 2013-07-23 00:03:57 -07:00
Dan Kubb
537dbdb99a Add const mutator 2013-07-22 23:57:30 -07:00
Dan Kubb
c63f1d52af Move named value access under consistent namespace 2013-07-22 23:56:56 -07:00