Skip to content

:test-matcher affects cloverage report #33

@mishadoff

Description

@mishadoff

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 |

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions