Browse Source

Bamboo-compatible code coverage reports

develop
Christian Aust 5 months ago
parent
commit
f2f917ed91
  1. 1
      .dockerignore
  2. 1
      .gitignore
  3. 1
      Gemfile
  4. 5
      Gemfile.lock
  5. 4
      spec/spec_helper.rb

1
.dockerignore

@ -3,6 +3,7 @@
/.vscode
coverage
target
run
/.rspec_status
/*.sublime-*

1
.gitignore

@ -2,6 +2,7 @@
/*.gem
/run
/coverage
/target
/.vscode
# rspec failure tracking

1
Gemfile

@ -9,6 +9,7 @@ gemspec
# Code coverage report
gem 'simplecov', require: false, group: :test
gem 'simplecov-bamboo', require: false, group: :test
# RuboCop support
gem 'rubocop', require: false

5
Gemfile.lock

@ -81,6 +81,10 @@ GEM
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-bamboo (0.1.0)
nokogiri
simplecov
simplecov-html
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.3)
simpleidn (0.2.1)
@ -103,6 +107,7 @@ DEPENDENCIES
rubocop-rspec
sanity!
simplecov
simplecov-bamboo
BUNDLED WITH
2.1.4

4
spec/spec_helper.rb

@ -1,8 +1,12 @@
# frozen_string_literal: true
require 'simplecov'
require 'simplecov-bamboo'
SimpleCov.start do
SimpleCov.add_filter 'spec'
SimpleCov.coverage_dir 'coverage'
SimpleCov.formatter = SimpleCov::Formatter::BambooFormatter
end
require 'bundler/setup'

Loading…
Cancel
Save