Sha256: c21d954d9f144eabce4bfa3545243af1d4182e32f234672fbaa645064feaf2f1
Contents?: true
Size: 904 Bytes
Versions: 10
Compression:
Stored size: 904 Bytes
Contents
# frozen_string_literal: true RSpec.describe Mutant::Reporter::CLI::Printer::SubjectResult do setup_shared_context let(:reportable) { subject_a_result } describe '.call' do context 'on full coverage' do it_reports <<~'STR' subject-a - test-a STR end context 'on partial coverage' do with(:mutation_a_test_result) { { passed: true } } it_reports <<~'STR' subject-a - test-a evil:subject-a:d27d2 @@ -1,2 +1,2 @@ -true +false ----------------------- - 1 @ runtime: 1.0 - test-a Test Output: mutation a test result output ----------------------- STR end context 'without results' do with(:subject_a_result) { { mutation_results: [] } } it_reports <<~'STR' subject-a - test-a STR end end end
Version data entries
10 entries across 10 versions & 1 rubygems