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

Improve test coverage #75

Open
jlubken opened this issue Aug 14, 2022 · 2 comments
Open

Improve test coverage #75

jlubken opened this issue Aug 14, 2022 · 2 comments

Comments

@jlubken
Copy link
Member

jlubken commented Aug 14, 2022

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.

Review the lines not covered and pick the easy coverage first. Avoid brittle tests that break when the implementation changes.

@GrayEye
Copy link

GrayEye commented Sep 7, 2022

Setup meeting with Jason when ready to work on this one. Go over pytest and brittle tests

@GrayEye
Copy link

GrayEye commented Dec 5, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants