Slide 16
Slide 16 text
Some possible downsides of TCR
● What if it doesn’t even compile?
○ Problem: a typo/syntax problem triggers the revert
○ Possible solution: include previous step to build/compile, BTCR
● Vanishing tests
○ Problem: everything reverts, including the tests
○ Maybe not a real problem: it forces you to nano-steps when writing tests!
○ Possible “solutions”:
■ commit the test first being pending/skipped
■ pass the negation of the test
● False green
○ Problem: If you don’t go red first, you might be adding a test which does nothing
○ Possible solution: negate the test after passing, and see how it reverts