4a9ab9340e
The mutation examples are now introspectable, this allows to render nice index or performing better automated analysis against the corpus.
14 lines
361 B
Ruby
14 lines
361 B
Ruby
require 'spec_helper'
|
|
|
|
describe Mutant::Mutator::Node do
|
|
Mutant::Meta::Example::ALL.each do |example|
|
|
context "on #{example.node.type.inspect}" do
|
|
it 'generates the correct mutations' do
|
|
verification = example.verification
|
|
unless verification.success?
|
|
fail verification.error_report
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|