-
Notifications
You must be signed in to change notification settings - Fork 47
Invoice System React w Redux
Dustin Tinney edited this page Sep 28, 2020
·
4 revisions
This Kata was presented at XP2006 by EmmanuelGaillot and ChristopheThibaut.
Clicking on the New Relic or CircleCi invoice will show you a total of $1,000,000. We'd like this amount to come from the subtotals of the given line items.
Refactor note: We'd like to also look at starting to add testing beyond snapshot tests as our application moves from an MVP phase.
Use the discount_percent in the payload to discount the line item. Show the previous amount, the new amount, and the amount discounted. Example below:
Name | Description | Unit Price | Quantity | Discount | Subtotal Anti-Virus Software | Subscription services for virus software | $200 | 1 | 50% | $100 (was $200)
This wiki was put together by your friends at test double. Come say hi!
- Test-driven development
- Test Doubles
- Refactoring Legacy Code
- Training Activities
- Additional Concepts