Cover Photo for [ONLINE] Ted M. Young: "Refactoring Tests"

[ONLINE] Ted M. Young: "Refactoring Tests"

Primary Photo for Software Crafters Montréal

Hosted by

Software Crafters Montréal

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.

[ONLINE] Ted M. Young: "Refactoring Tests"

Primary Photo for Software Crafters Montréal

Hosted by

Software Crafters Montréal

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.