API Testing Guide
The STIG Manager project currently tests its API using a Postman Collection and specific test data, which can be found in the repo.
The Postman Collection tests are run automatically with Newman whenever a Pull Request is made to the project.
The tests focus on proper functioning of the API, and verification that appropriate data is returned to Users. The tests run in several iterations, simulating Users accessing the system with varying privileges, Access Levels and Assignments, and checks that they can only receive and alter appropriate data.
Running the API Tests Locally
See the test README.md for more information on running the tests and test data.