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.
This commit is contained in:
Markus Schirp 2014-06-02 12:57:14 +00:00
parent c75729ead2
commit 4a9ab9340e
95 changed files with 1751 additions and 2116 deletions

15
meta/begin.rb Normal file
View file

@ -0,0 +1,15 @@
# encoding: utf-8
Mutant::Meta::Example.add do
source 'true; false'
# Mutation of each statement in block
mutation 'true; true'
mutation 'false; false'
mutation 'nil; false'
mutation 'true; nil'
# Delete each statement
mutation 'true'
mutation 'false'
end