-
Notifications
You must be signed in to change notification settings - Fork 43
Executing Unit Tests Locally
Matthew Bourque edited this page Mar 23, 2021
·
2 revisions
The jwql
test suite contains various unit tests that test many of the modules and functions of the jwql
package. While most of these tests are automatically executed during GitHub Actions builds when Pull Requests are created or modified, some of the tests are only able to be run locally due to access to internal data. Thus, it is important to test pull requests locally to ensure that all tests pass before merging. To do this, make sure that the jwql
conda
environment is initiated, then, execute the following:
cd jwql/jwql/tests/
pytest .
If any issues arise, they ideally should be solved within the Pull Request that is being tested.