177: Unit Test vs Integration Test and The Testing Trophy
A recent Twitter thread by Simon Willison reminded me that I've been meaning to do an episode on the testing trophy.
This discussion is about the distinction between unit and integration tests, what those terms mean, and where we should spend our testing time.
This discussion is about the distinction between unit and integration tests, what those terms mean, and where we should spend our testing time.
Links:
- Simon Willison's Twitter Thread
- The Testing Trophy and Testing Classifications — Kent C Dodds
- Write tests. Not too many. Mostly integration. — Kent C Dodds
- On the Diverse And Fantastical Shapes of Testing — Martin Fowler
Sponsored by:
- The Complete pytest course is now a bundle, with each part available separately.
- pytest Primary Power teaches the super powers of pytest that you need to learn to use pytest effectively.
- Using pytest with Projects has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI
- Then pytest Booster Rockets can help with advanced parametrization and building plugins.
- Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.
Creators and Guests
