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.
Joberno Birlado Joseph
Joberno Birlado JosephHow to instrument a React app for observability (traces, performance insights, debugging user flows), common pitfalls, and practical implementation tips.
A practical talk on we handled a concurrency use-case in a React application that we had (auth token refresh / duplicate requests) and how we made it using the library async-mutex coupled with RTK query.
Présentation de 40 minutes, en français
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.
Joberno Birlado Joseph
Joberno Birlado JosephHow to instrument a React app for observability (traces, performance insights, debugging user flows), common pitfalls, and practical implementation tips.
A practical talk on we handled a concurrency use-case in a React application that we had (auth token refresh / duplicate requests) and how we made it using the library async-mutex coupled with RTK query.
Présentation de 40 minutes, en français
Get in touch!
hi@guild.host