TDD - Short for Test Driven Development!
15
TDD It’s short for Test Driven Development!
-
Upload
bradley-cypert -
Category
Engineering
-
view
50 -
download
4
Transcript of TDD - Short for Test Driven Development!
TDDIt’s short for Test Driven Development!
-Kent Beck
“Do the simplest thing that could possibly work.”
From Ticket to Test.
given: when: then:
I’m a user on the profile page
I update my last name
It should save successfully
$ npm test
Run our Test
Fail.
This failure is good.
• We have a test that accurately represents a problem.
• Our test runs
• Not broken nor did it break the test-runner.
$ npm test
Run our Test
Success.
TDD Cycle
Refactor.