You'll find here materials that we have developed at ENX to facilitate code retreat.
When you're not comfortable with a language, it might take you a lot of time to scaffold the minimum and start right away. This is a pity!
We provide a scaffold allowing you to start to write code and practice Test Driven Development quickly for the following programming languages:
test && commit || revert
is a practice invented by Kent Beck.
We provide scripts to use TCR with the scaffolds:
./scripts/tcr
: the classic version../scripts/btcr
: this script is easier to work with: build failures will not
be reverted, giving you a chance to fix them.Those scripts can be called from within a scaffold folder. They will directly
call the appropriate scripts/build
and scripts/test
of that folder.
For example:
cd scaffolds/javascript
../../scripts/tcr
Inspirations:
We try to follow these recommendations:
./scripts/test
./scripts/build
To check that all the scaffold scripts are present and work as intended, a
testing script can be launched: test_all.sh
.