![Cover Photo for [ONLINE] Ted M. Young: "Refactoring Tests"](https://guild.host/i/r/dpr3_w368_sig3ifbLXyLN9ks7eOs/04c3dbf4-59a9-43e1-9331-42f33b87344b.jpeg)

Hosted by
Software Crafters Montréal
Wednesday, May 20th
7:00PM to 8:30PM EDT
Online
Link available to attendees

Ready to join in on the fun?

This is a special event where Ted M. Young will talk about Refactoring Tests
đź’¬ Abstract
Tests are code, too, but they don't get as much attention, often leaving messy, hard to understand tests. Poorly factored tests can also make refactoring production code more difficult, resulting in even messier code.
In this session, we'll start with what we need from a good test, using AssertJ and JUnit features to make it readable and maintainable. We'll walk up the ladder from Helper methods, shared Factory Methods, all the way to Test Data Builders, discussing how and when to make the transition between them. We'll look at test "smells" and how to repair them, using Parameterized Tests. If time allows, we'll see how to "retarget" your tests when extracting a new production class from existing code.
While the code is in Java, the principles and techniques apply to most languages.
🤠About Ted M. Young
Ted M. Young (aka "JitterTed") is a Java technical coach, speaker, and author. He's been in software development for over 30 years and has been an advocate of eXtreme Programming practices since 2000.
Ted loves helping those new to the industry, as well as experienced folks, increase their joy in coding by showing them how to make their code more testable. He loves using Ensembling for teaching test-driven development (TDD), refactoring, domain-driven design, and Testable Architectures through hands-on experiences.
Ted is the creator of the acclaimed "JitterTed's TDD Game" used at events and companies worldwide to help people understand the benefits and nuances of TDD in a fun way.
Platform Sponsors

Don't let broken lines of code, busted API calls, and crashes ruin your app. Join the 4M developers and 90K organizations who consider Sentry “not bad” when it comes to application monitoring. Use code “guild” for 3 free months of the team plan.
https://sentry.io

Torc is a community-first platform bringing together remote-first software engineer and developer opportunities from across the globe. Join a network that’s all about connection, collaboration, and finding your next big move — together.
Join our community today!
![Cover Photo for [ONLINE] Ted M. Young: "Refactoring Tests"](https://guild.host/i/r/dpr3_w368_sig3ifbLXyLN9ks7eOs/04c3dbf4-59a9-43e1-9331-42f33b87344b.jpeg)

Ready to join in on the fun?

Platform Sponsors

Don't let broken lines of code, busted API calls, and crashes ruin your app. Join the 4M developers and 90K organizations who consider Sentry “not bad” when it comes to application monitoring. Use code “guild” for 3 free months of the team plan.
https://sentry.io

Torc is a community-first platform bringing together remote-first software engineer and developer opportunities from across the globe. Join a network that’s all about connection, collaboration, and finding your next big move — together.
Join our community today!

Hosted by
Software Crafters Montréal
May
20
Wednesday, May 20th
7:00PM to 8:30PM EDT
Online
Link available to attendees
This is a special event where Ted M. Young will talk about Refactoring Tests
đź’¬ Abstract
Tests are code, too, but they don't get as much attention, often leaving messy, hard to understand tests. Poorly factored tests can also make refactoring production code more difficult, resulting in even messier code.
In this session, we'll start with what we need from a good test, using AssertJ and JUnit features to make it readable and maintainable. We'll walk up the ladder from Helper methods, shared Factory Methods, all the way to Test Data Builders, discussing how and when to make the transition between them. We'll look at test "smells" and how to repair them, using Parameterized Tests. If time allows, we'll see how to "retarget" your tests when extracting a new production class from existing code.
While the code is in Java, the principles and techniques apply to most languages.
🤠About Ted M. Young
Ted M. Young (aka "JitterTed") is a Java technical coach, speaker, and author. He's been in software development for over 30 years and has been an advocate of eXtreme Programming practices since 2000.
Ted loves helping those new to the industry, as well as experienced folks, increase their joy in coding by showing them how to make their code more testable. He loves using Ensembling for teaching test-driven development (TDD), refactoring, domain-driven design, and Testable Architectures through hands-on experiences.
Ted is the creator of the acclaimed "JitterTed's TDD Game" used at events and companies worldwide to help people understand the benefits and nuances of TDD in a fun way.
Get in touch!
hi@guild.host