Joberno Birlado JosephTests 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 JosephEffect.ts is TypeScript's "missing standard library": one Effect<Success, Error, Requirements> type covering Rust-style typed errors, concurrency, retries, streams, DI, and schema validation - replacing Zod, Lodash, or RxJS. Composable, type-safe, incrementally adoptable.
Igor LoskutovDemander à une IA de refactorer 200 fichiers React, ça consomme des tokens, ça prend du temps, et ça hallucine parfois. Un codemod peut faire la job en quelques secondes, gratuitement, sans se tromper. Mais écrire un codemod, c'est pas évident. Dans ce talk, je vais vous montrer comment vous pouvez utiliser l'IA pour écrire les codemods qui s'occuperont de réaliser le travail de migration.
Nicolas Carlo
Joberno Birlado JosephTests 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 JosephEffect.ts is TypeScript's "missing standard library": one Effect<Success, Error, Requirements> type covering Rust-style typed errors, concurrency, retries, streams, DI, and schema validation - replacing Zod, Lodash, or RxJS. Composable, type-safe, incrementally adoptable.
Igor LoskutovDemander à une IA de refactorer 200 fichiers React, ça consomme des tokens, ça prend du temps, et ça hallucine parfois. Un codemod peut faire la job en quelques secondes, gratuitement, sans se tromper. Mais écrire un codemod, c'est pas évident. Dans ce talk, je vais vous montrer comment vous pouvez utiliser l'IA pour écrire les codemods qui s'occuperont de réaliser le travail de migration.
Nicolas CarloGet in touch!
hi@guild.host