|
|
|
|
|
by quickthrower2
1201 days ago
|
|
I really liked using specflow (a cucumber equivalent) for dotnet years ago. It comes into its own when you want to quickly multiply up the cases or
build out scenarios from smaller steps. Even if you are unit testing and not using BDD it is useful. But it is
an investment, especially if you need to move exisiting tests to it. Being able to write code for a single step requires
decent decoupling through the test and tested code. |
|
For LightBDD, developers write Given-When-Then tests in C#, and the test run spits out Gherkin style reports in various formats including a rather nice HTML page.
Chosing to use Specflow/LightBDD depends on how much you value the reports. At least with LightBDD, you are not forced to write the tests in the report format.
https://github.com/LightBDD