Sha256: f74d1b054cea6200fbfb48097179b74eaf1b10dd90b06d283220fc3ef3e842d4

Contents?: true

Size: 470 Bytes

Versions: 11

Compression:

Stored size: 470 Bytes

Contents

require_relative "../../test_helper"

module MinitestReportersTest
  class JUnitReporterTest < TestCase
    def test_replaces_special_characters_for_filenames_and_doesnt_crash
      fixtures_directory = File.expand_path('../../../fixtures', __FILE__)
      test_filename = File.join(fixtures_directory, 'junit_filename_bug_example_test.rb')
      output = `ruby #{test_filename} 2>&1`
      refute_match 'No such file or directory', output
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
minitest-reporters-1.3.6 test/integration/reporters/junit_reporter_test.rb
nullifyable-0.1.0 vendor/bundle/gems/minitest-reporters-1.3.5/test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.3.5 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.3.5.beta1 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.3.4 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.3.3 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.3.2 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.3.2.beta2 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.3.2.beta1 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.3.1 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.3.1.beta1 test/integration/reporters/junit_reporter_test.rb