Open zdc217 opened 4 years ago
I dug into the possibility of mocking the api with Postman so that we could run automated tests. Using Postman's mock service requires creating an account and getting an API key, which would lead to some overhead managing developer accounts/teams/etc...
I'm going to add a basic test we can run with Postman/Newman on our local machines for now and we can revisit automating this later if we end up not needing to mock the API.
@zdc IMO Postman & Newman tests should just be for integration tests. The majority of your tests should be unit tests written in Python.
QNet work has been put on hold due to COVID response and back-to-school preparation.
Newman can be installed via NPM so this will need to be worked into the container as well.
There is also a newman github action that could be used: https://github.com/marketplace/actions/newman-action