Skip to content

Commit 0bb5637

Browse files
committed
[CI] Adds HTML reporter to xpack specs
1 parent bd68cb7 commit 0bb5637

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

elasticsearch-xpack/spec/spec_helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,8 @@ def self.included(context)
5151
config.formatter = 'documentation'
5252
config.color = true
5353
config.add_formatter('RspecJunitFormatter', '../elasticsearch-api/tmp/elasticsearch-xpack-junit.xml')
54+
config.add_formatter(
55+
'RSpec::Core::Formatters::HtmlFormatter',
56+
"tmp/elasticsearch-#{ENV['TEST_SUITE']}-#{RUBY_VERSION}.html"
57+
)
5458
end

0 commit comments

Comments
 (0)