Valeriy Kuzmin, Lilt, 2020
What it is
Write a failing test
Fix it
Refactor
Key parts
Some testing theory
(fake) arguments against
(true) arguments against
So, how to apply?
Recap
| Benefits | Costs |
|---|---|
| No way to cheat | Need to allocate more time * |
| Improve code quality and design | Need to care about CI * |
| Less regressions * | Need to train developers * |
| Better test coverage | |
| More skilled developers * | |
| Better predictability of work | |
| Less need for dedicated QA * | |
| Less integrations broken | |
| Happier developers! |
Compared to no tests (*) or tests after, tests-first have...
But why? Isn't it just a theory?
Questions?