Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ group :test do
gem 'rspec-retry'
gem 'selenium-webdriver'
gem 'shoulda-matchers', '~> 8.0'
gem 'simplecov', '~> 0.22.0', require: false
gem 'simplecov', '~> 1.0.1', require: false
gem 'simplecov_json_formatter'
gem 'timecop'
gem 'webmock'
Expand Down
9 changes: 2 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ GEM
irb (~> 1.10)
reline (>= 0.3.8)
diff-lcs (1.6.2)
docile (1.4.1)
domain_name (0.6.20240107)
dotenv (3.2.0)
dotenv-rails (3.2.0)
Expand Down Expand Up @@ -539,11 +538,7 @@ GEM
shellany (0.0.1)
shoulda-matchers (8.0.1)
activesupport (>= 7.2)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.2)
simplecov (1.0.1)
simplecov_json_formatter (0.1.4)
simpleidn (0.2.3)
snaky_hash (2.0.3)
Expand Down Expand Up @@ -663,7 +658,7 @@ DEPENDENCIES
sentry-rails
sentry-ruby
shoulda-matchers (~> 8.0)
simplecov (~> 0.22.0)
simplecov (~> 1.0.1)
simplecov_json_formatter
sprockets-rails
stimulus-rails
Expand Down
16 changes: 7 additions & 9 deletions features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@
require 'simplecov'
require 'simplecov_json_formatter'

# Only start SimpleCov if it hasn't been started
unless SimpleCov.running
SimpleCov.start 'rails' do
track_files 'app/**/*.rb'
formatter SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::JSONFormatter
])
end
# Start SimpleCov coverage reporting for cucumber runs
SimpleCov.start 'rails' do
track_files 'app/**/*.rb'
formatter SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::JSONFormatter
])
end

require 'cucumber/rails'
Expand Down
Loading