DEV Community

Discussion on: Continuous Testing and ATDD

jamesrichmond24 profile image
James Richmond

Great article!
I have never heard of ATDD before.
Which unit testing/mocking framework do you use?

vanlightly profile image
Jack Vanlightly Author

In my team we're using xUnit as the test runner and Moq as the mocking framework. But in other older codebases other teams in my org are using MsTest and NMock. I have worked in both and I haven't found a huge difference between them. xUnit has a nice way of doing data driven tests but I prefer to use SpecFlow for al my tests.

I find that Gherkin is good for describing my unit tests as well. The unit tests are just for me and my team, but it makes it easier to understand the nuiances between tests.