Commit graph

17 commits

Author SHA1 Message Date
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
df9207cad4 Undefine methods before loading mutants
* Closes #163
2014-03-14 21:34:51 +00:00
Markus Schirp
399f352328 Consistently use expect syntax 2014-02-02 22:49:33 +01:00
Markus Schirp
1b28438d43 Remove Mutant::Support::Metho object in favor of procto 2013-12-29 22:50:24 +01:00
Markus Schirp
f1b4dc2c2f Use 1.9 hash syntax also for specs 2013-09-08 22:12:23 +02:00
Dan Kubb
d675c9258d Update path name to report the filename better on failure 2013-07-29 17:33:44 -07: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
46f90aa328 Fix all style warnings under spec/**/*.rb 2013-07-29 00:25:15 +02:00
Dan Kubb
2c6934f146 Change deprecated mock() to double()
* Fix code alignment
2013-07-14 10:01:30 -07:00
Markus Schirp
58761afbff Adjust expectation to unparser change 2013-06-15 00:10:14 +02:00
Markus Schirp
fca5b8a168 Port method extraction to parser based ast 2013-06-14 21:11:54 +02:00
Markus Schirp
eb6ea9a74f Metric driven code refactoring
Break some classes, rename stuff etc.
2013-01-04 22:16:03 +01:00
Markus Schirp
306d4e3225 Correctly set file and line of injected mutants 2012-12-14 19:53:37 +01:00
Markus Schirp
001f3c7d99 Make mutant run under MRI 1.9.
* Add a Mutant::Loader::Eval that loads code via Kernel#eval
* Move Mutnat::Loader to Mutant::Loader::Rubinius (currently not used)
2012-11-21 20:31:01 +01:00
Markus Schirp
e7ea0bbde7 Fix Mutant::Loader to use correct constant scope
* Do not load the compiled code before CompiledCode#create_script
  was called.
* Add a test case that illustrates the issue.
2012-08-19 21:27:25 +02:00
Markus Schirp
d50ecc483d Cleanup missing whitespace after comma
* There must be a code metric tool helping me in converting my style.
2012-07-31 04:10:37 +02:00
Markus Schirp
10c3dfc390 Finalize method matching
* Add tests for all edge cases I could create
* Add infrastructure for loading mutations into the vm.
* The fun part is next!
2012-07-26 19:25:23 +02:00