Tests are hard to write if 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 take it and they will either stop testing or test superficially. At the other end, others struggle to write contrieved, 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.
Cyaniclab : Software Development Agency Portfolio.pdf
Unit testing - 9 design hints
1. Your tests are trying
to tell you something
by Victor Rentea at
9 design hints you were missing
Read the article:
https://victorrentea.ro/blog/design-insights-from-unit-testing/
Get the code:
https://github.com/victorrentea/unit-testing.git Branch: 9hints_talk
victorrentea.ro
2. Hi, I'm Victor Rentea
Java Champion – drinking since 2006
Trainer – 3000+ devs in 80+ companies
Speaker – Conferences & Meetups
Hibernate
Spring Advanced FP
Java Performance Secure Coding
Reactive
Architecture Clean Code Unit Testing
3. pro
Hibernate
Spring Advanced FP
Architecture Clean Code Unit Testing
Masterclass
Company
Training
Video
Lessons
@victorrentea
VictorRentea.ro
victorrentea@gmail.com
Java Performance Secure Coding
Reactive
victorrentea.ro/community
Join My
Community
YouTube
Channel
youtube.com/user/vrentea