What's next after attaining the black belt mastery in TDD? The next phase in software engineering maturity is TCR. Here is a brief description of the reasons leading to TCR discipline.
5. Graduation path
● From yellow to black belt – Masters degree course
of study
● After Masters degree – PhD course of study
● After PhD – post-doctoral fellowship
49. Let’s build a trivial tool by leveraging the
newfangled save-and-commit approach
50. Tip Calculator
● As a patron
I want to calculate the total bill (total plus the tip)
Because I want to compliment the restaurant for the service
● Scenario #1: Patron calculates the total for terrible service
Given that the restaurant total is $100.00
And the service was terrible
When the tip calculator calculates the total charge
Then tip calculator shows $100.00 total charge
51. Tip Calculator
● Scenario #2: Patron calculates the total for poor service
● Given that the restaurant total is $100.00
And the service was poor
When the tip calculator calculates the total charge
Then tip calculator shows $105.00 total charge
52. Tip Calculator
● Scenario #3: Patron calculates the total for good service
● Given that the restaurant total is $100.00
And the service was good
When the tip calculator calculates the total charge
Then tip calculator shows $110.00 total charge
53. Tip Calculator
● Scenario #4: Patron calculates the total for great service
● Given that the restaurant total is $100.00
And the service was great
When the tip calculator calculates the total charge
Then tip calculator shows $115.00 total charge
54. Tip Calculator
● Scenario #5: Patron calculates the total for excellent service
● Given that the restaurant total is $100.00
And the service was excellent
When the tip calculator calculates the total charge
Then tip calculator shows $120.00 total charge