Commit graph

13 commits

Author SHA1 Message Date
Markus Schirp
a7c3dc5339 Improve AST coverage of mutant
* Uses a monkeypach extension to parser with a list of valid node types.
* Add nodes, found to be uncovered to generic mutator.
2013-12-29 22:44:32 +01:00
Markus Schirp
212831b107 Refactor mutation emitter to support unparser 0.1.0
Cleans up the body mutator and fix blind spot.
2013-09-06 01:43:17 +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
0faf7b0a84 Fix style issues in Mutant::NodeHelpers 2013-07-29 00:25:15 +02:00
Markus Schirp
efd6a52f16 Hardcode AST like parser would produce it 2013-07-28 18:46:29 +02:00
Dan Kubb
ddc0b79ed6 Add Mutant::NodeHelpers#n_not 2013-07-24 10:53:37 -07:00
Dan Kubb
28ffff59d0 Fix whitespace 2013-07-24 10:53:29 -07:00
Dan Kubb
62d9e30570 Move true and false nodes above nil 2013-07-23 23:30:04 -07:00
Dan Kubb
ecfd388ad3 Add N_TRUE and N_FALSE node helpers 2013-07-23 23:23:45 -07:00
Markus Schirp
04c72c5d0f Replace empty body/block mutations with raise 2013-07-02 20:42:09 +02:00
Markus Schirp
586a4d3e1b Use constant nodes when possible 2013-06-21 15:07:40 +02:00
Markus Schirp
02dee45458 Port literal float emitter to parser
Also simplify emitter for special float cases Nan, Inf, -Inf
2013-06-14 21:12:09 +02:00
Markus Schirp
fca5b8a168 Port method extraction to parser based ast 2013-06-14 21:11:54 +02:00