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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excluding classes with Wildcard doesn't work #252

Closed
mustafaozhan opened this issue Oct 5, 2022 · 2 comments
Closed

Excluding classes with Wildcard doesn't work #252

mustafaozhan opened this issue Oct 5, 2022 · 2 comments
Assignees
Labels
Bug Bug issue type S: untriaged Status: issue reported but unprocessed

Comments

@mustafaozhan
Copy link

Hello 馃憢

I tried to exclude my test classes from the reports by adding below code

koverMerged {
    enable()
    filters {
        classes {
            excludes += listOf(
                "*Test",
                "*.*Test",
                "*.*.*Test",
                "*.*.*.*Test",
                "*.*.*.*.*Test"
            )
        }
    }
}

it doesn't seem working, i can still see my classes ending with ...Test in the coverage report

@shanshin shanshin self-assigned this Oct 14, 2022
@shanshin shanshin added Bug Bug issue type S: untriaged Status: issue reported but unprocessed labels Oct 14, 2022
@shanshin
Copy link
Collaborator

Try 0.7.0-Alpha version.

Perhaps there may be problems with migration due to incomplete documentation.
In addition to the changed DSL, the approach to creating merged reports has changed, now you need to specify the kover dependency to create them.

@shanshin
Copy link
Collaborator

shanshin commented Apr 21, 2023

Please try the new DSL in version 0.7.0-Beta.
Feel free to open new bug issue if the problem reproduced again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug issue type S: untriaged Status: issue reported but unprocessed
Projects
None yet
Development

No branches or pull requests

2 participants