Comparisons of Unit Test Frameworks for SharePoint Development

  Pros Cons
nUnit
xUnit
  • Open Source
  • Data Driven Testing using the TheoryAttribute
  • Test Attributes
mbUnit
  • Open Source
MSTest
  • Visual Studio Integration
  • Extremely slow start up time for test execution (copies all dlls and adds instrumentation - large projects takes 30 secs)
  • If running a build server and not using Team Foundation Server...requires Visual Studio on build server
  • Only in Visual Studio 2008 Pro, Team System and Test Edition

External References

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Mar 25, 2009

    Anonymous says:

    What about Typemock Isolator, its not a unit testing framework, its a mocking fr...

    What about Typemock Isolator, its not a unit testing framework, its a mocking framework, but it is a relevant tool for unit testing Sharepoint ... I think that also Rhino can help with this but I am not 100% sure ...


Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License. Hosted generously by CustomWare