From d50fdb4473577fa2cdfcd298bbe9c25b1d1eabb4 Mon Sep 17 00:00:00 2001 From: Carlos Goce Date: Tue, 10 Mar 2015 21:29:08 +0100 Subject: Add jUnit formatter --- Gemfile | 9 ++++++++- Gemfile.lock | 6 ++++++ shippable.yml | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index c95c1ab..7bea097 100644 --- a/Gemfile +++ b/Gemfile @@ -4,4 +4,11 @@ gem 'prawn', '~> 1.3.0' gem 'prawn-table', '~> 0.2.1' gem 'rake', '~> 10.4.2' gem 'activesupport', '~> 4.2.0' -gem 'rspec', '~> 3.1.0' + +group :development, :test do + gem 'rspec', '~> 3.1.0' +end + +group :test do + gem 'rspec_junit_formatter', '~> 0.2.0' +end \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index c92cb67..08a20b7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,6 +7,7 @@ GEM minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) + builder (3.2.2) diff-lcs (1.2.5) i18n (0.7.0) json (1.8.1) @@ -29,6 +30,10 @@ GEM rspec-mocks (3.1.3) rspec-support (~> 3.1.0) rspec-support (3.1.2) + rspec_junit_formatter (0.2.0) + builder (< 4) + rspec (>= 2, < 4) + rspec-core (!= 2.12.0) thread_safe (0.3.4) ttfunk (1.4.0) tzinfo (1.2.2) @@ -43,3 +48,4 @@ DEPENDENCIES prawn-table (~> 0.2.1) rake (~> 10.4.2) rspec (~> 3.1.0) + rspec_junit_formatter (~> 0.2.0) diff --git a/shippable.yml b/shippable.yml index d13a455..1454e3f 100644 --- a/shippable.yml +++ b/shippable.yml @@ -11,4 +11,4 @@ before_script: - mkdir -p shippable/testresults script: - - rspec -f JUnit -o shippable/testresults/results.xml + - rspec --format RspecJunitFormatter --out shippable/testresults/results.xml -- cgit v1.2.3