Systems testing
Description
Implemented all of the provider / manager systems tests listed in the test document.
These tests do not all pass! Some of the tested functions are broken, and others haven't been implemented yet. Use these as reference to fix bugs.
Some of these tests have a weird issue where they'll fail when run in a group, but pass when run on their own. If you're not sure why a test isn't passing, try running it specifically.
Related Issue(s)
Changes Made
- Change 1: Wrote test_provider_subsystem.py
- Change 2: Wrote test_manager_subsystem.py
- Change 3: Added fixture for mocking login
- Change 4: Added fixture for mocking database save location
- Change 5: Separated tests into unit test and system test folders
- Change 6: Changed make test to make unittest
- Change 7: Added make systest
Screenshots / Snippets (if applicable)
Test Plan
- Normal tests: make unittest
- System tests: make systest
Checklist
-
Code follows the project's coding style and conventions. -
Automated tests for the changes have been added or existing tests have been updated. -
Code coverage for new or modified code is maintained or improved. -
The code builds and runs without errors or warnings. -
Documentation has been updated to reflect the changes made. -
All discussions and feedback on the PR have been addressed. -
CI/CD pipelines pass successfully, including any required checks or tests. -
The PR has been reviewed and approved by the designated reviewers.
Edited by Danny Love