Sha256: cc947f6d5e64e3b2f9277697d264cf123fe9c7507fe5cd50f215f8fcf8f7f3f4

Contents?: true

Size: 435 Bytes

Versions: 31

Compression:

Stored size: 435 Bytes

Contents

# This is a test for a bug that was happening when the JUnit Reporter was
# creating filenames from `describe`s that contained slashes, which would crash
# since it was trying to create directories then.

require 'bundler/setup'
require 'minitest/autorun'
require 'minitest/reporters'

Minitest::Reporters.use! Minitest::Reporters::JUnitReporter.new

describe 'something/other' do
  it 'does something' do
    1.must_equal 1
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
minitest-reporters-1.0.7 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-1.0.6 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-1.0.5 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-1.0.4 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-1.0.3 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-1.0.2 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-1.0.1 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-1.0.0 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-1.0.0.beta3 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-1.0.0.beta2 test/integration/fixtures/junit_filename_bug_example_test.rb
minitest-reporters-1.0.0.beta1 test/integration/fixtures/junit_filename_bug_example_test.rb