We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DSDK testing has been simplified. After activating a python 3.10 virtual environment, use:
pytest
... to show coverage.
Look for ways to add coverage without adding code perhaps by updating configuration files, or loading additional configuration files in the tests.
Familiarize with pytest.raises, pytest.parametrize, pytest.mark, logger.debug, conftest.py, and running pytest --log-cli-level=debug.
pytest --log-cli-level=debug
Review the lines not covered and pick the easy coverage first. Avoid brittle tests that break when the implementation changes.
The text was updated successfully, but these errors were encountered:
Setup meeting with Jason when ready to work on this one. Go over pytest and brittle tests
Sorry, something went wrong.
Test coverage has been improved to 70%. It's good enough for now, though we will want to come back to this in the future
jlubken
GrayEye
No branches or pull requests
DSDK testing has been simplified. After activating a python 3.10 virtual environment, use:
... to show coverage.
Look for ways to add coverage without adding code perhaps by updating configuration files, or loading additional configuration files in the tests.
Familiarize with pytest.raises, pytest.parametrize, pytest.mark, logger.debug, conftest.py, and running
pytest --log-cli-level=debug
.Review the lines not covered and pick the easy coverage first. Avoid brittle tests that break when the implementation changes.
The text was updated successfully, but these errors were encountered: