The premise of TDD is to write tests that satisfy that a piece of functionality is working as expected.
Be this a unit of code (unit test) or a higher level feature (acceptance test).
A test should be written to fail. (Red)
Simply enough code should be written to make this test pass (Green)
Code should then be tidied up and optimised (Refactor).
This is inline with the Kent Beck model of Red, Green, Refactor for Test Driven Development.
Subscribe to:
Post Comments (Atom)
Mastering Frontend Interviews: 10 Essential Concepts Every Developer Should Know
Frontend development interviews can be daunting, particularly with the breadth of topics covered. From JavaScript fundamentals to performanc...
-
"I'm a Celebrity, Get Me Out of Here" has become a cultural phenomenon, captivating audiences worldwide with its thri...
-
The Concept of True North in Lean Methodology In the world of Lean methodology, one of the most fundamental and guiding principles is ...
-
In today's fast-paced digital landscape, ensuring the seamless operation of online services during high-demand events is paramount. The...
No comments:
Post a Comment