What is Test Driven Development (TDD)?
In TDD, the software development process begins with creating tests based on requirements. The tests are executed. At this point these tests should fail. We write code to make these tests pass. Once the test pass, we refractor the code and make it pass the test again.
TDD includes at least following steps:
- Create test cases
- Execute test cases, it should fail.
- Write code to make the tests pass
- Refractor and make the tests pass again
Comments
Post a Comment