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

Added Coverage Analysis for Tests of Python Package #221 and Update Tox and Pytest Configurations #792

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ps2181
Copy link
Contributor

@ps2181 ps2181 commented Nov 5, 2024

This PR updates the tox and pytest configuration files to improve test coverage reporting and streamline the testing process. The changes include:
tox.ini:
pytest.ini

Added coverage commands to track test coverage.
Defined separate test environments for running tests and coverage.
Configured pytest to report coverage in HTML format.

A terminal output showing the success or failure of tests.
An HTML coverage report accessible via htmlcov/index.html, detailing the coverage statistics for the project.
you can run the coverage report my either using the tox command or the pytest command where it generates a html report in htmlcov under index.html
#221

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

Successfully merging this pull request may close these issues.

1 participant