Hacker News new | ask | show | jobs
by tcbasche 2331 days ago
It depends what type of ticket we'll be playing. If it's a bug, we'll probably write or augment an existing test that tests that "X does/doesn't happen". If it's a feature we'll start with the unit and integration tests to show it works, and then write the code that does that thing.

Our team is all Python so we rely on pytest and mock etc. For testing AWS related stuff we typically use Moto, which is an AWS mocking library, but sometimes to have it run locally with localstack, and then against the dev/uat environments once the code has been pushed.

End-to-end tests exist as well that cover the major user stories but these can be a little bit flaky - and this is the main challenge right now.