Skip to content

Commit 6c55124

Browse files
committed
JSON output from simplecov
1 parent b739846 commit 6c55124

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.simplecov

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ unless ENV['NO_COVERAGE']
1414
require 'simplecov_json_formatter'
1515
SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter
1616
else
17-
SimpleCov.formatter SimpleCov::Formatter::HTMLFormatter
17+
#SimpleCov.formatter SimpleCov::Formatter::HTMLFormatter
18+
require 'simplecov_json_formatter'
19+
SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter, SimpleCov::Formatter::JSONFormatter ]
1820
end
1921
end
2022
end

0 commit comments

Comments
 (0)