Skip to content

Regression on Coverage after refactoring  #35

@albilu

Description

@albilu

For a trivial project with the following directory structure:

main.py
tests/FuncTest.py

I ran the operation Project Name/Code Coverage/Collect and Display Code Coverage. On the Code Coverage bar, I launched the All Tests operation. A message appeared in the Output/Collect Coverage window: Wrote JSON report to coverage.json. I then ran the Report... operation and got a message in the report window that the code has zero test coverage: No data -- have you run your code yet? | 0.00%

In the terminal window in the project directory, I verified that .coverage and coverage.json files were created. I ran the coverage report -m command from the command line and got the following results:

Name     Stmts  Miss  Branch  BrPart  Cover   Missing
-----------------------------------------------------
main.py     20    15      10       0    17%   19-39
-----------------------------------------------------
TOTAL       20    15      10       0    17%

Originally posted by @DKnoto in #33

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpri-high

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions