Appendix B. Using a Unit Testing Framework

In This Appendix

Throughout this book, we created tests for our ASP.NET MVC code. This appendix provides you with a brief introduction to unit testing frameworks.

Following are several popular unit testing frameworks for the .NET framework:

Visual Studio Unit Test—Included with Visual Studio Professional and above

NUnit—Open source testing framework available from NUnit.org

xUnit.net—Open source testing framework available from xunit.CodePlex.com

This book uses the Visual Studio Unit Test framework because it is included with Visual Studio. In other words, using Visual Studio Unit Test does not require any special setup, and my goal is ...

Get ASP.NET MVC Framework Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.