Slide 8
Slide 8 text
TDD
● Workflow # previous
○ you write some code,
○ you create the tests that verify it,
○ you execute the tests and make sure that everything works as expected.
● Workflow # TDD
○ first, you write the test for a new functionality,
○ you verify the test fails (and it will fail, because you haven’t write any code for that new
functionality),
○ you write some new code to solve the problem at hand,
○ you execute the test and make sure that, after your new code is over, it passes.