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

:test-matcher affects cloverage report #33

Open
mishadoff opened this issue Oct 24, 2018 · 0 comments
Open

:test-matcher affects cloverage report #33

mishadoff opened this issue Oct 24, 2018 · 0 comments

Comments

@mishadoff
Copy link

As per documentation we can use :test-matcher key to affect the test namespaces. If I use it for example to exclude some test (like #"(?!(app.render.test)).*"), and run lein bat-test cloverage, the test succesfully excluded, BUT cloverage instrument only this excluded namespace app.render.test and ignores all other namespaces.

As you can see in coverage report only one test ns present, though i have more than 10 namespaces

Ran 103 tests in 56.909 seconds
567 assertions, 0 failures, 0 errors.
Writing HTML report to: /Users/misha/app/target/coverage/index.html

|------------------------+---------+---------|
|              Namespace | % Forms | % Lines |
|------------------------+---------+---------|
|  app.render.test       |   10.71 |   28.13 |
|------------------------+---------+---------|
|              ALL FILES |   10.71 |   28.13 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant