Skip to content

Commit 61c4be4

Browse files
committed
Output junit format test report
1 parent 39d42db commit 61c4be4

File tree

16 files changed

+48
-0
lines changed

16 files changed

+48
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ package-lock.json
1616
pkg/
1717
/tmp/
1818
/yarn-error.log
19+
/test-reports/

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ instance_eval File.read local_gemfile if File.exist? local_gemfile
102102
group :test do
103103
gem "minitest-bisect"
104104
gem "minitest-retry"
105+
gem "minitest-reporters"
105106

106107
platforms :mri do
107108
gem "stackprof"

Gemfile.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ GEM
111111
addressable (2.5.2)
112112
public_suffix (>= 2.0.2, < 4.0)
113113
amq-protocol (2.3.0)
114+
ansi (1.5.0)
114115
ast (2.4.0)
115116
aws-eventstream (1.0.1)
116117
aws-partitions (1.111.0)
@@ -316,6 +317,11 @@ GEM
316317
minitest-bisect (1.4.0)
317318
minitest-server (~> 1.0)
318319
path_expander (~> 1.0)
320+
minitest-reporters (1.3.6)
321+
ansi
322+
builder
323+
minitest (>= 5.0)
324+
ruby-progressbar
319325
minitest-retry (0.1.9)
320326
minitest (>= 5.0)
321327
minitest-server (1.0.5)
@@ -555,6 +561,7 @@ DEPENDENCIES
555561
libxml-ruby
556562
listen (>= 3.0.5, < 3.2)
557563
minitest-bisect
564+
minitest-reporters
558565
minitest-retry
559566
mysql2 (>= 0.4.10)
560567
nokogiri (>= 1.8.1)

actioncable/test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ def wait_for_executor(executor)
4141
end
4242
end
4343
end
44+
45+
require_relative "../../tools/test_common"

actionmailbox/test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,5 @@ def bounce(to:)
5454
end
5555
end
5656
end
57+
58+
require_relative "../../tools/test_common"

actionmailer/test/abstract_unit.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ def jruby_skip(message = "")
4949
skip message if defined?(JRUBY_VERSION)
5050
end
5151
end
52+
53+
require_relative "../../tools/test_common"

actionpack/test/abstract_unit.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,3 +382,5 @@ class DrivenBySeleniumWithHeadlessChrome < ActionDispatch::SystemTestCase
382382
class DrivenBySeleniumWithHeadlessFirefox < ActionDispatch::SystemTestCase
383383
driven_by :selenium, using: :headless_firefox
384384
end
385+
386+
require_relative "../../tools/test_common"

actiontext/test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ def create_file_blob(filename:, content_type:, metadata: nil)
3131
ActiveStorage::Blob.create_after_upload! io: file_fixture(filename).open, filename: filename, content_type: content_type, metadata: metadata
3232
end
3333
end
34+
35+
require_relative "../../tools/test_common"

actionview/test/abstract_unit.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,5 @@ def jruby_skip(message = "")
205205
skip message if defined?(JRUBY_VERSION)
206206
end
207207
end
208+
209+
require_relative "../../tools/test_common"

activejob/test/helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@
1616
end
1717

1818
require "active_support/testing/autorun"
19+
20+
require_relative "../../tools/test_common"

0 commit comments

Comments
 (0)