Sha256: 40809b7b4163e1938da4221de60019fe623e5a23f90a899f1629c3f63fa74524
Contents?: true
Size: 666 Bytes
Versions: 1
Compression:
Stored size: 666 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Mutant, 'rspec integration' do around do |example| Dir.chdir(TestApp.root) do example.run end end specify 'it allows to kill mutations' do Kernel.system('bundle exec mutant --rspec ::TestApp::Literal#string').should be(true) end pending 'fails to kill mutations when they are not covered' do cli = 'bundle exec mutant --rspec ::TestApp::Literal#uncovered_string' Kernel.system(cli).should be(false) end pending 'fails when some mutations when are not covered' do cli = 'bundle exec mutant --rspec ::TestApp::Literal' Kernel.system(cli).should be(false) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.3.0.rc1 | spec/integration/mutant/rspec_spec.rb |