-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Description:
The coverage on this repo is currently at ~66%. While code is only added to this repo infrequently, it would be a major benefit if the coverage could be greatly improved so we can be more certain that a future change won't break existing functionality.
You should extend the existing test classes and create new ones where needed to increase the test coverage to over 90%. If you can also spot where more test cases of an existing test are needed (e.g. different user input that could result in a different output) then please add these too.
Code coverage can be checked when the CI runs and a coverage report is uploaded to Codecov as well as running the tests locally using the following command:
nox -p [PY_VERSION] -s tests -- --cov=scigateway_auth --cov-report=term
Acceptance criteria:
- Coverage should be a minimum of 90%+, ideally 95%+