Sha256: 6584557c79dcc7874033da583468d21aea954db903066de275fa4e00009be4dd

Contents?: true

Size: 854 Bytes

Versions: 6

Compression:

Stored size: 854 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
mutant-0.8.16 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
mutant-0.8.15 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
mutant-0.8.14 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
mutant-0.8.13 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
mutant-0.8.12 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb
mutant-0.8.11 spec/unit/mutant/reporter/cli/printer/env_result_spec.rb