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.


Discuss: slack.softwarecrafters.org (channel #loc_montréal)
Past meetups notes: github.com/Software-Crafters-Montreal/meetups
Contact: crafters-mtl@googlegroups.com
---
This group is for any developer, whoever you are, and whatever language or technology you're familiar with.
Join us if you are interested in testing, DDD, software architecture, clean code, refactoring, challenges of working with legacy code, pairing/mobbing, etc.
As Software Crafters, we improve professional software development skills through practice and helping others learn the know-how.
We do appreciate the following:
Looking for the left parts, we found that we needed the right parts.
The Manifesto for Software Craftsmanship: http://manifesto.softwarecraftsmanship.org/
Code of Conduct
Our meetup is a harassment-free place for everyone, regardless of gender, gender identity, and expression, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, religion (or lack thereof), or technology choices. We do not tolerate harassment of participants in any form. Sexual language and imagery are not appropriate at any time, including talks, workshops, parties, Twitter, and other online media. Participants violating these rules may be sanctioned or expelled from the meetup at the discretion of the organizers.
Detailed version: https://github.com/socrates-ca/socrates-ca.github.io/wiki/Code-of-Conduct
Vous aviez aimé le précédent évènement? Nous avons décidé de continuer l'aventure.
La communauté est re-formée, rassemblée autour de leur passion commune pour le Craft, pour continuer leur quête vers le Clean Code.
Lors de leur aventure, ils ont déjà rencontré plusieurs obstacles:
une codebase inconnue - le .NET SDK de Vonage
du tooling à ne plus savoir quoi en faire: analyse comportementale avec CodeScene, analyse statique avec Sonar, et mutation report avec Stryker
Pour cet évènement, la communauté se concentrera directement sur le code pour identifier, et potentiellement résoudre, des code smells. Cette session sera riche en échanges techniques dans un cadre bienveillant.
Ne manquez pas cette aventure exceptionnelle dans le monde du Craft!
Note: cet évènement ne sera pas enregistré - il faudra donc être présent pour en profiter
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!
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.


Discuss: slack.softwarecrafters.org (channel #loc_montréal)
Past meetups notes: github.com/Software-Crafters-Montreal/meetups
Contact: crafters-mtl@googlegroups.com
---
This group is for any developer, whoever you are, and whatever language or technology you're familiar with.
Join us if you are interested in testing, DDD, software architecture, clean code, refactoring, challenges of working with legacy code, pairing/mobbing, etc.
As Software Crafters, we improve professional software development skills through practice and helping others learn the know-how.
We do appreciate the following:
Looking for the left parts, we found that we needed the right parts.
The Manifesto for Software Craftsmanship: http://manifesto.softwarecraftsmanship.org/
Code of Conduct
Our meetup is a harassment-free place for everyone, regardless of gender, gender identity, and expression, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, religion (or lack thereof), or technology choices. We do not tolerate harassment of participants in any form. Sexual language and imagery are not appropriate at any time, including talks, workshops, parties, Twitter, and other online media. Participants violating these rules may be sanctioned or expelled from the meetup at the discretion of the organizers.
Detailed version: https://github.com/socrates-ca/socrates-ca.github.io/wiki/Code-of-Conduct
Vous aviez aimé le précédent évènement? Nous avons décidé de continuer l'aventure.
La communauté est re-formée, rassemblée autour de leur passion commune pour le Craft, pour continuer leur quête vers le Clean Code.
Lors de leur aventure, ils ont déjà rencontré plusieurs obstacles:
une codebase inconnue - le .NET SDK de Vonage
du tooling à ne plus savoir quoi en faire: analyse comportementale avec CodeScene, analyse statique avec Sonar, et mutation report avec Stryker
Pour cet évènement, la communauté se concentrera directement sur le code pour identifier, et potentiellement résoudre, des code smells. Cette session sera riche en échanges techniques dans un cadre bienveillant.
Ne manquez pas cette aventure exceptionnelle dans le monde du Craft!
Note: cet évènement ne sera pas enregistré - il faudra donc être présent pour en profiter
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!
Get in touch!
hi@guild.host