Skip to content

Commit 39828ed

Browse files
committed
[CI] Add JUnit output
1 parent 7089f95 commit 39828ed

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

elasticsearch-api/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ end
1919
group :development do
2020
gem 'rspec'
2121
gem 'pry-nav'
22+
gem 'rspec_junit_formatter'
2223
end

elasticsearch-api/spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def self.included(context)
4444
config.include(HelperModule)
4545
config.formatter = 'documentation'
4646
config.color = true
47+
config.add_formatter('RspecJunitFormatter', 'tmp/elasticsearch-api-junit.xml')
4748
end
4849

4950
if ENV['COVERAGE'] && ENV['CI'].nil? && !RUBY_1_8

0 commit comments

Comments
 (0)