DEV Community

Continuous Testing and ATDD

Jack Vanlightly on January 08, 2018

Code on GitHub. Software and code quality requires more than just engineering discipline, it requires testing and measurement. In this article we...
Collapse
 
jamesrichmond24 profile image
James Richmond

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

Collapse
 
vanlightly profile image
Jack Vanlightly

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.