mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
use multiformatter for simplecov to get html cov reports back
This commit is contained in:
parent
2dcbbcf529
commit
955e3e86bc
2 changed files with 5 additions and 1 deletions
|
@ -16,6 +16,7 @@ describe 'signup' do
|
|||
fill_in 'password', with: @site[:password]
|
||||
fill_in 'email', with: @site[:email]
|
||||
rescue Capybara::ElementNotFound
|
||||
puts "Waiting on fill_in #{Time.now - time} seconds"
|
||||
raise if Time.now - time > 30
|
||||
sleep 0.5
|
||||
retry
|
||||
|
|
|
@ -4,7 +4,10 @@ raise 'Forget it.' if ENV['RACK_ENV'] == 'production'
|
|||
require 'coveralls'
|
||||
require 'simplecov'
|
||||
|
||||
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
|
||||
SimpleCov::Formatter::MultiFormatter[
|
||||
SimpleCov::Formatter::HTMLFormatter,
|
||||
Coveralls::SimpleCov::Formatter
|
||||
]
|
||||
SimpleCov.coverage_dir File.join('tests', 'coverage')
|
||||
SimpleCov.start do
|
||||
add_filter "/migrations/"
|
||||
|
|
Loading…
Add table
Reference in a new issue