Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the best way to implement BDD/TDD in .NET 2.0? [closed]

I'm looking to add a testing suite to my application, however I can't move to the newer testing frameworks for .NET 3.5.

Does anyone have a suggestion about good testing frameworks to use?

like image 286
qrush Avatar asked Aug 05 '08 12:08

qrush


People also ask

Can we use TDD and BDD together?

Short answer, yes.

Is BDD better than TDD?

It's important to note that BDD and TDD aren't mutually exclusive — many Agile teams use TDD without using BDD. However, BDD ensures that most use cases of the application work on a higher level and provide a greater level of confidence.

Can BDD replace TDD?

BDD is a replacement for both TDD and ATDD (and derived from them). The first ever tool for BDD, JBehave, actually started as a replacement for the unit-testing framework JUnit.

What is BDD and TDD framework?

TDD is a development technique that focuses more on the implementation of a feature. BDD is a development technique that focuses on the system's behavior. ATDD is a technique similar to BDD, focusing more on capturing the requirements. Participants. Developer.


1 Answers

We use MbUnit and Rihno Mocks and they prove to work very well together. When doing TDD you will almost certainly need to do some form of dependency injection, while this can be done manually, its worth looking at an IoC container such as Castle Windsor.

It well worth looking at John Paul Bodhood's screen casts to get you started. JPB's Blog

like image 65
Dan Avatar answered Oct 04 '22 22:10

Dan