Writing Data Driven Tests using xUnit

This is going to be a short tutorial (now updated for xUnit 2) on how to go about writing data driven tests using xUnit. The samples used will be easy to understand and relate to.

In case you are new to xUnit then all I will say is that xUnit is the next iteration for popular Nunit framework. It is better in many respects.

So what are data driven tests?

To keep it very simple, these are the tests which are run on different sets of data.

Continue reading