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

Enable test coverage report according to README #399

Merged
merged 1 commit into from
Oct 2, 2024

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
15 checks passed
@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