Skip to content

Testing

Matthew Aylward edited this page May 29, 2022 · 1 revision

We used to Test Driven Design for the backend to ensure the data returned to the Users is correct and to cover as many edge cases as we could.

For the Backend's Solution we implement Pytest tests, it is an easy framework to use as we simply need to just ensure the files & functions begin with the word test. Pytest will then automatically detect the tests. You are able to run the tests with the simple command pytest. We incorporated Pytest into the Travis CI to ensure there would be minimum problems with CI/CD Pipeline.

We strived for > 80% coverage for the solution to ensure there would be minimum bugs in production.

Clone this wiki locally