Reputation: 2017
More precisely does writing unit tests consider as BDD practice?
Does unite testing consider as a part of BDD/TDD or both?
Upvotes: 4
Views: 238
Reputation: 236328
There are several types of tests: unit tests, acceptance tests, integration tests. And there are several development practices, like TDD or BDD. So, BDD is not only about acceptance testing. BDD can be done unit tests level. Here is some of Dan North thoughts about difference between BDD and TDD when we speak about unit-testing:
There are different BDD frameworks for different types of tests. E.g. SpecFlow for acceptance BDD, or NSpec for unit level BDD.
So, answering your questions:
Upvotes: 4