Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.48 KB

challenge.md

File metadata and controls

42 lines (29 loc) · 1.48 KB

Day 24: Make yourself indispensable.

It's Christmas Eve 🎅 you've been working hard to help Santa prepare. You've written and refactored a lot of code.

Now you're wondering whether Santa will call on your services next year.

To be sure, you decide to make yourself indispensable by applying the CDD (Crappy-Driven Development) technique to the most critical code used to manage the delivery of toys.

Apply CDD to make the code so crappy that no one will be able to understand it...

Follow the golden rules described below: CDD rules

Test && Commit || Revert (TCR)

To be sure to work in baby steps and apply only one crappy idea at a time, we propose to use TCR: Test && Commit || Revert workflow. TCR Workflow

We can automate commit and revert by using murex TCR tool. Documentation available here

Crappy && Commit || Revert (CCR)

We mix CDD and TCR for this exercise: CDD + TCR

Here is the technique detailed: CCR

You can run tcr tool with this command:

./tcrw

Create a branch before running it: Run TCR

Enjoy 🤗

snippet of the day

Proposed Solution

Proposed Solution Guide