Sha256: 7846defe15775dee0cfdbe2a36cd8e045fd9bebe35665dd42c8c66b2f6c8f53c

Contents?: true

Size: 458 Bytes

Versions: 133

Compression:

Stored size: 458 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

133 entries across 91 versions & 11 rubygems

Version Path
minitest-reporters-1.1.16 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.15 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.14 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.13 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.12 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.11 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.11.beta1 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.10 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.9 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.9.beta2 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.9.beta1 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.8 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.7 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.6 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.5 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.4 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.3 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.2 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.1 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-1.1.0 test/integration/reporters/junit_reporter_test.rb