The Tough Questions About Testing

Unit testing is a part of Test-Driven Development, but TDD is not only about Unit testing. In TDD, you usually write tests before you write any application code, and these test serve as documentation. However, Behavior-Driven development is a less well-defined term. Some contrast BDD and TDD while others say that they’re they are like two sides of the same coin. Bob Silverberg discusses Test-Driven Development and Unit testing and says that the two techniques sometimes get confused with one another

Video source: