Sha256: 2ae7fe5176cf98139da4a1289563e2bc5003ada48ae10dac0f8e8670aa2a1873

Contents?: true

Size: 454 Bytes

Versions: 5

Compression:

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

5 entries across 5 versions & 1 rubygems

Version Path
minitest-reporters-0.14.24 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-0.14.23 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-0.14.22 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-0.14.21 test/integration/reporters/junit_reporter_test.rb
minitest-reporters-0.14.20 test/integration/reporters/junit_reporter_test.rb