Skip to content

Latest commit

 

History

History
67 lines (49 loc) · 2.67 KB

File metadata and controls

67 lines (49 loc) · 2.67 KB

Groupe

  • CHABROL Baptiste
  • LEGRAND Etienne
  • RAINTEAU Tom
  • IGLI Anass

Dossier de prises de notes

xtrem-craft-workshop/php/step-by-step

Langage choisi

PHP

Xtrem Craft workshop

This workshop is based on the Xtrem TDD workshop, by Yoan Thirion and Guillaume Faas

Here is the pitch of it :

You have probably already heard or practiced Test-Driven Development (TDD) but have you already tried it in an Xtrem way?

What do we mean by Xtrem?
We propose to practice TDD on a kata using mob programming and introducing different constraints that you will pick randomly. We expect you to find smart ways to overcome those constraints.

Those constraints can be of different types : Design, Testing, Practice, Architecture.

Here are some example of constraints that we have documented on our website :
- Use TCR workflow (Test && Commit || Revert)
- Use a Test DataBuilder
- Check your dependency freshness with libyear
- Write only pure functions
- Make at least 2 refactorings after a passing test
- Write your next test using Approval Testing approach
- Check the quality of your tests with Mutation Testing
- and much more ...

By overcoming those constraints you will learn new ways of designing your code that you will be able to use in your day-to-day.

Welcome

The changes made tend to adapt the content to an apprentice developer audience (like students) to work on a large panel of the software craftsmanship practices.

Prerequisites

You need to install the runtime environment for the language you prefer use:

Workshop structure

We have structured this workshop using the 4C model :

  • Connection : Help learners make connections with the topic of the workshop
  • Concepts : Direct instruction, lecture or presentation part
  • Concrete Practice : Learners actively practice a new skill using the new information
  • Conclusion : Learners summarize what they have learned

Workshop