Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any good documentations / books / tutorials for xUnit.NET? [closed]

On my search for a Unit-Testing tool for C# i have found xUnit.NET. Untill now, i read most of the articles on http://xunit.codeplex.com/ and even tried out the examples given at How do I use xUnit.net?.

But sadly, on the offical page i could just find the basic informations to xUnit.NET. Is there any further information avadible for it?

like image 833
DIF Avatar asked Jan 25 '12 16:01

DIF


People also ask

What is the difference between xUnit and NUnit?

NUnit creates a new instance of the test class and then runs all of the test methods from the same instance. Whereas xUnit.net creates a new instance of the test class for each of the test methods.

Does xUnit work with .NET framework?

xUnit.Net is an open source unit testing tool for the . Net Framework that provides an easy way to work with data driven unit tests.

Is xUnit open source?

xUnit is a free, open source Unit testing framework for . Net developed by Brad Wilson and Jim Newkirk, inventor of NUnit. The framework is built with .

What is xunit2?

About xUnit.net. xUnit.net is a free, open source, community-focused unit testing tool for the . NET Framework. Written by the original inventor of NUnit v2, xUnit.net is the latest technology for unit testing C#, F#, VB.NET and other . NET languages.


1 Answers

Besides the xUnit-1.9.1.chm-File mentioned by Sean U and the Examples on the official xUnit.NET website I found two other resources to help me understand the basics of the work with xUnit.NET:

  • An Introduction to xUnit.net for ASP.NET MVC Developers by Stephen Walter
  • Learning to Use xUnit.Net (3 Chapter Tutorial) by Maria Marcano

Sadly, as pointed out also by Sean U, it seems as there are no books at all about the xUnit.NET-Framework yet. So, for further information it looks like one has go with studying the *.chm-File and reading general books about unit testing. Or switch to another testing-framework, that's what I think I'll do...

Update

Ognyan Dimitrov added some additional resources in his comments:

  • XUnitPatterns.com by Gerard Meszaros (Website)
  • xUnit Test Patterns: Refactoring Test Code by Gerard Meszaros (Book)
like image 187
DIF Avatar answered Sep 25 '22 23:09

DIF