Your Unit Tests are Trying To Tell You Something by Victor Rentea
ฝัง
- เผยแพร่เมื่อ 26 ส.ค. 2024
- For more info on the next Devoxx UK event 👉 www.devoxx.co.uk
If tests are hard to write, the production design is crappy - goes an old saying. Indeed, writing unit tests gives you one of the most comprehensive, yet brutal, feedback about the design of your production code, but if it comes too late, many developers can’t stand it anymore and they will either stop testing or test more superficially. At the other extreme, others struggle to write contrived, fragile tests full of mocks that end up frustrating more than helping them. This talk reviews the main hints that unit tests provide you, from the most obvious improvements to some of the most subtle design principles.
I love Victor's talks!