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:
parent
c75729ead2
commit
4a9ab9340e
95 changed files with 1751 additions and 2116 deletions
15
meta/begin.rb
Normal file
15
meta/begin.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue