Skip to content

Enable test coverage report according to README#399

Merged
chadlwilson merged 1 commit intogetgauge:masterfrom
sschulz92:ENABLE_COVERAGE_REPORT
Oct 2, 2024
Merged

Enable test coverage report according to README#399
chadlwilson merged 1 commit intogetgauge:masterfrom
sschulz92:ENABLE_COVERAGE_REPORT

Conversation

@sschulz92
Copy link
Contributor

As per README.md, you should be able to create a coverage report after executing the tests. Apparently this was not possible at all since the test cases were executed without using the Python module "coverage".

README.md:

Tests Coverage
python build.py --test
coverage report -m

With my changes you can execute coverage html or coverage report -m successfully.

Besides the required changes in build.py, I resolved even more code-smells like "unused variable".

Signed-off-by: sschulz92 <bastie92_spam@gmx.de>
@chadlwilson chadlwilson merged commit e2a3ae7 into getgauge:master Oct 2, 2024
@sschulz92 sschulz92 deleted the ENABLE_COVERAGE_REPORT branch October 2, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants