Unit Testing with Victor Rentea

Iasi Software Craftsmanship Community
Iasi Software Craftsmanship Community
Public group
Location image of event venue



18.00 - 18.30: Welcome
18.30 - 19.30: Part 1: Unit Testing like a Pro
19.30 - 20.00: Break
20.00 - 21.30: Part 2: Live-coding in Java on a topic selected by the audience

Focusing on the creative work without being afraid of breaking the existing behavior can make software development very addictive! Good automated tests can buy you that!

However, unmaintainable tests will slow you down and cause you painful headaches, compilation errors and random failures. To avoid that, your unit tests should be significant, expressive, few, and blazing fast - writing good tests thus becomes the toughest challenge for any developer, no matter how experienced. For every test that you write you have to balance risk with maintenance costs, while also looking out for test design smells that may point out needed refactorings, sometimes unexpected or risky. Testing can give you one of the most valuable feedback about your micro-design you will ever receive. You only have to listen. Because in the end, a good, clean design is what matters, not the coverage%.

Grab a strong coffee and join this extract from Victor’s Unit Testing #training, to learn about: testing priorities, buggy tests, mutation testing, fixture-based test breakdown, "purifying" your logic, partial mock smell and key tips for testing Legacy Code. All via an entertaining, dynamic session you will never forget.

The audience will choose the topic for the live coding for the second part of the meetup, from options including:

- 15 things to do after extracting a method
- a refactoring Kata
- Mock-testing legacy code

About the speaker:
Victor is one of the top Technical Trainers in Romania, having trained by now 1200 developers in 30 companies. He is Lead Architect at IBM, where he practices Pair Programming, Clean Code and Refactoring every day. After giving the 3 largest Java meetups in Bucharest, Victor founded the Bucharest Software Craftsmanship Community in which he runs regularly free coding webinars. Victor is now regularly invited to speak at major international conferences: his live-coding sessions are insane, lightning-fast but well crafted, full of enthusiasm, deep insights and take-away tips. To learn more about him, follow his daily thoughts on LinkedIN, Facebook or Twitter, or check out http://victorrentea.ro.