29

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?

5
  • "Is there any further information avadible for it?" What specifically do you want to know? What have you managed to achieve with it so far?
    – Rup
    Jan 25, 2012 at 16:56
  • 3
    The *.chm file is very comprehensive. You have to grab it separately from the project's downloads page.
    – Sean U
    Jan 25, 2012 at 17:04
  • Untill now i got nothing more, than the examples at "How do I use xUnit.net" to work. What I'm looking for, is a good text to learn to work with the framework.
    – dif
    Jan 25, 2012 at 17:06
  • 1
    It's probably not established enough for there to be any books yet. A book like Pragmatic Unit Testing will cover the general concepts, though, even if the concrete examples are all for xUnit.NET's predecessor.
    – Sean U
    Jan 25, 2012 at 17:31
  • Thanks for your answers - especially the *.chm-File will help a lot. I think its hard to understand xUnit.NET with a general book about unit tests, becaus the terms and useage differ a lot from other xUnit-Frameworks.
    – dif
    Jan 26, 2012 at 7:09

2 Answers 2

32

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:

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:

3
  • 2
    +1 for a solid link to the .CHM file which is extremely well hidden for some reason. May 18, 2014 at 14:24
  • 1
    Other resources : this, this and this. These should be sufficient to start with. Nov 27, 2014 at 9:03
  • @ I added two of the links you recommended to the answer, but I could not find anything xUnit related on lostechies.com
    – dif
    Nov 27, 2014 at 11:34
2

If you decide to abandon xUnit and use NUnit instead, a good book to read is "The Art of Unit Testing (with examples in .NET)".

Nice clear explanations of both basic and advanced unit testing concepts, using the NUnit framework.

1
  • Thanks! Actually, I have already worked through that book and it was indeed quite helpful.
    – dif
    Jan 30, 2012 at 7:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.