Sha256: 25a4f79066ded12af1ddccc2b1bd280f74f95c052a670fef827d3e6c9c3a9f08
Contents?: true
Size: 572 Bytes
Versions: 18
Compression:
Stored size: 572 Bytes
Contents
# frozen_string_literal: true 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
18 entries across 18 versions & 1 rubygems