12345678910111213141516171819202122 |
- return if !ENV['TRAVIS_CI']
- require 'simplecov'
- require 'simplecov-rcov'
- require 'coveralls'
- Coveralls.wear!
- class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
- #
- # Note: You'll currently still have to declare fixtures explicitly in integration tests
- # -- they do not yet inherit this setting
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
- SimpleCov::Formatter::RcovFormatter,
- Coveralls::SimpleCov::Formatter
- ])
- merge_timeout = 3600
- SimpleCov.start
- fixtures :all
- end
|