Sha256: 5efe866db679f89039c7f625eaf156ea62eaea1069b199ea767eaf770c5bea5c
Contents?: true
Size: 541 Bytes
Versions: 13
Compression:
Stored size: 541 Bytes
Contents
RSpec.describe Mutant::Reporter::CLI::Printer::MutationProgressResult do setup_shared_context let(:reportable) { mutation_a_result } before do allow(output).to receive(:tty?).and_return(true) end describe '.run' do context 'on killed mutant' do with(:mutation_a_test_result) { { passed: true } } it_reports Mutant::Color::RED.format('F') end context 'on alive mutant' do with(:mutation_a_test_result) { { passed: false } } it_reports Mutant::Color::GREEN.format('.') end end end
Version data entries
13 entries across 13 versions & 1 rubygems