Skip to content
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

Framework detection wrong with MiniTest::Spec #97

Closed
conradwt opened this issue Nov 30, 2011 · 2 comments
Closed

Framework detection wrong with MiniTest::Spec #97

conradwt opened this issue Nov 30, 2011 · 2 comments
Assignees
Labels

Comments

@conradwt
Copy link

When running tests using Minitest::Spec, I'm getting the following message indicating that I'm using RSpec:

Coverage report generated for RSpec to /path/to/coverage. 11 / 11 LOC (100.0%) covered.

The message should be something similar to the following:

Coverage report generated for Minitest::Spec to /path/to/coverage. 11 / 11 LOC (100.0%) covered.

@colszowka
Copy link
Collaborator

Yes, I noticed this too. It's because SimpleCov guesses the test framework from the command line that invoked the tests first, and since it matches /spec/ for mintest too, the output is wrong like you pointed out. I'll look into it.

By the way, you can override the test framework guessing by specifying "command_name 'XYZ'" in your simplecov config!

@ghost ghost assigned colszowka May 10, 2012
@bf4
Copy link
Collaborator

bf4 commented May 17, 2015

Closing as stale. Please reopen if this is still an issue. (And take a look at #340 )

@bf4 bf4 closed this as completed May 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants