test/test_helper.rb
# CodeClimate
require "codeclimate-test-reporter"
CodeClimate::TestReporter.configure do |config|
config.path_prefix = "APPLICATION"
end
CodeClimate::TestReporter.start
################################################################################
#Codecov
require 'simplecov'
SimpleCov.start
require 'codecov'
SimpleCov.formatter = SimpleCov::Formatter::Codecov
################################################################################
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
class ActiveSupport::TestCase
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
fixtures :all
# Add more helper methods to be used by all tests here...
end