Commit graph

11 commits

Author SHA1 Message Date
Markus Schirp
c7de9a24fb Prefer Object#is_a? over #kind_of? 2014-10-08 11:49:48 +00:00
Markus Schirp
cf1c9a2bed Add relational operator mutations
[fix #205]
2014-08-11 15:21:05 +00:00
Markus Schirp
8164de883e Add mutation from #reverse_merge to #merge
[fix #214]
2014-08-11 15:11:02 +00:00
Markus Schirp
99b19a1d92 Add mutation from {is_a,kind_of}? to instance_of? 2014-07-25 17:33:01 +00:00
Markus Schirp
18029b1756 Add mutations from to_{s,i,a} -> to_{str,int,ary}
[closes #217]
2014-07-10 19:42:37 +00:00
Markus Schirp
13cd04d9be Introduce AST::Meta to externalize semantic analysis
* Add Mutant::AST namespace to hold all AST related data / helpers.
* Mutant::AST will be externalized into an ast-meta gem that can be
  shared with unparser for deduplication.
* Over the time the mutators itself will not need to deal with semantic
  analysis of the AST anymore by themselves.
* Move AST analysis for send nodes to AST::Meta
* Fix #209
2014-06-29 21:26:58 +00:00
Markus Schirp
3d94003616 Fix invalid AST generation on operator method with self as receiver 2014-06-15 19:48:27 +00:00
Markus Schirp
e3d4f62f95 Fix index assignment mutations 2014-06-15 15:34:45 +00:00
Markus Schirp
ac179cd450 Remove useless mutations and fix index reference 2014-06-15 13:12:11 +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
4a9ab9340e Define expected mutations with less redundancy
The mutation examples are now introspectable, this allows to render nice
index or performing better automated analysis against the corpus.
2014-06-02 14:05:11 +00:00