Sha256: 7647c7db4d02e957271baa48e67fea478e20ee6b38f1a64e4f62a36d31319969

Contents?: true

Size: 885 Bytes

Versions: 8

Compression:

Stored size: 885 Bytes

Contents

# frozen_string_literal: true

RSpec.describe Mutant::Reporter::CLI::Printer::EnvResult do
  setup_shared_context

  with(:mutation_a_test_result) { { passed: true } }

  let(:reportable) { env_result }

  describe '.call' do
    it_reports <<~'STR'
      subject-a
      - test-a
      evil:subject-a:d27d2
      @@ -1,2 +1,2 @@
      -true
      +false
      -----------------------
      Mutant configuration:
      Matcher:         #<Mutant::Matcher::Config empty>
      Integration:     Mutant::Integration::Null
      Jobs:            1
      Includes:        []
      Requires:        []
      Subjects:        1
      Mutations:       2
      Results:         2
      Kills:           1
      Alive:           1
      Runtime:         4.00s
      Killtime:        2.00s
      Overhead:        100.00%
      Mutations/s:     0.50
      Coverage:        50.00%
    STR
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mutant-0.8.24 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
mutant-0.8.23 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
mutant-0.8.22 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
mutant-0.8.21 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
mutant-0.8.20 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
mutant-0.8.19 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
mutant-0.8.18 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
mutant-0.8.17 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb