- CHABROL Baptiste
- LEGRAND Etienne
- RAINTEAU Tom
- IGLI Anass
xtrem-craft-workshop/php/step-by-step
PHP
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.
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.
You need to install the runtime environment for the language you prefer use:
- C# : .NET 6
- java : SDK 17
- php : PHP >= 7.4
- Typescript : node >= 18.12
- Scala 2 :
scala 2.13.8
We have structured this workshop using the 4C model :
Connection
: Help learners make connections with the topic of the workshopConcepts
: Direct instruction, lecture or presentation partConcrete Practice
: Learners actively practice a new skill using the new informationConclusion
: Learners summarize what they have learned