-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circular require #208
Comments
My if ENV['COVERAGE']
require 'simplecov'
require 'simplecov-lcov'
SimpleCov.coverage_dir 'doc/coverage'
SimpleCov::Formatter::LcovFormatter.config.report_with_single_file = true
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
SimpleCov.start do
add_filter 'spec'
enable_coverage(:branch) # Report branch coverage to trigger branch-level undercover warnings
add_group 'Actors', 'lib/mygem/actors'
add_group 'Messaging', 'lib/mygem/messaging'
# more add_group ....
end
require 'undercover'
end |
Hey @paddor! You shouldn't require |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting this when I using this gem:
Maybe the
cli.rb
doesn't need to be loaded when running the specs, but only when actually running theundercover
CLI?The text was updated successfully, but these errors were encountered: