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

0% coverage #40

Open
bendmorris opened this issue Oct 15, 2016 · 1 comment
Open

0% coverage #40

bendmorris opened this issue Oct 15, 2016 · 1 comment

Comments

@bendmorris
Copy link

Running munit with -coverage, I get an empty coverage report:

------------------------------
COVERAGE REPORT
------------------------------

OVERALL COVERAGE STATS:

    packages    0%         0 / 0
    files       0%         0 / 0
    classes     0%         0 / 0
    methods     0%         0 / 0
    statements  0%         0 / 0
    branches    0%         0 / 0
    lines       0%         0 / 0

COVERAGE RESULT     0%
==============================

My .munit settings:

classPaths=..
coveragePackages=com

Have also tried an absolute path for classPaths.

@DleanJeans
Copy link

Came here to say I had the same problem and solved it.

If your problem is same as mine:
I assume your code is in a com folder.
I suggest moving it to a src folder
and in your .munit file, set classPaths=src.

See my post in the forum.

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

2 participants