File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ require 'simplecov'
2+ require 'simplecov-json'
13SimpleCov . start 'rails' do
4+ # any custom configs like groups and filters can be here at a central place
25 enable_coverage :branch
6+ formatter SimpleCov ::Formatter ::MultiFormatter [
7+ SimpleCov ::Formatter ::JSONFormatter ,
8+ SimpleCov ::Formatter ::HTMLFormatter
9+ ]
310 add_filter 'phoenix-tests'
411end
Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ group :test do
202202 gem "rails-controller-testing"
203203 # Show code coverage.
204204 gem 'simplecov'
205+ gem 'simplecov-json'
205206 # Mock HTTP requests and ensure they are not called during tests.
206207 gem "webmock" , "~> 3.24"
207208 # Interface capybara to chrome headless
Original file line number Diff line number Diff line change 642642 simplecov-html (~> 0.11 )
643643 simplecov_json_formatter (~> 0.1 )
644644 simplecov-html (0.12.3 )
645+ simplecov-json (0.2.3 )
646+ json
647+ simplecov
645648 simplecov_json_formatter (0.1.4 )
646649 sinatra (4.0.0 )
647650 mustermann (~> 3.0 )
@@ -812,6 +815,7 @@ DEPENDENCIES
812815 shoulda-matchers (~> 6.4 )
813816 simple_form
814817 simplecov
818+ simplecov-json
815819 solid_cache (~> 1.0 )
816820 sprockets (~> 4.2.1 )
817821 stackprof
You can’t perform that action at this time.
0 commit comments