Test Driven Development

Advantages of TDD

  • good quality code
  • good unit test coverage
  • tests will be automated
  • tests are created for each bug
  • save time

TDD fails

  • may not be for developers who worked with non-TDD approach.
  • less knowledge of unit test framework also impact TDD approach
  • Complexity in creating tests.
  • Rapidly changing requirements

Existing Tools

  • jest for js
  • chai for js
  • JUnit for java
  • PyUnit for python
  • DocTest for python
  • Travis CI



By sandeep chauhan

Loading comments...

More from sandeep chauhan