Automated Testing Without the Pain
| Speaker | Jeremy Thurgood |
|---|---|
| Track | Other |
| Type | Regular talk (45 minutes) |
Abstract
Automated tests are an important part of any software project, but they're often hard to work with. Good test code should be written with its own set of priorities and is sufficiently different from non-test code that many standard programming practices are unsuitable.
I have spent many years writing (and reading) tests of varying quality and have learned quite a lot from the experience. I hope to share some of that experience and help to remove some of the pain usually associated with writing and maintaining tests.
This talk will cover some of the practical aspects of writing good tests for real code, including:
- Properties of a good test case
- Taking advantage of
pytestfixtures - Different kinds of test doubles
- Reusable test helpers
- Post-deployment testing and QA automation
