NUnit Pocket Reference: Up and Running with NUnit

NUnit Pocket Reference: Up and Running with NUnit

by Bill Hamilton
NUnit Pocket Reference: Up and Running with NUnit

NUnit Pocket Reference: Up and Running with NUnit

by Bill Hamilton

eBook

$6.99  $7.99 Save 13% Current price is $6.99, Original price is $7.99. You Save 13%.

Available on Compatible NOOK Devices and the free NOOK Apps.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

Few .NET developers have the luxury of unlimited code testing once their application is complete, and rushing through the testing process is both problematic and stressful. The open source NUnit framework provides an excellent and efficient way to test and improve .NET code as it's written, saving hundreds of QA hours and headaches.NUnit is one of the most mature and widely-used .NET open source projects even Microsoft uses it internally. NUnit is a unit-testing framework for all .Net languages. Written entirely in C#, NUnit takes advantage of many .NET language features, such as custom attributes and other reflection related capabilities. It automates unit testing and reduces the effort required to frequently test code while developing it. NUint is invaluable for .NET developers in test-driven development under agile methodologies such as Extreme Programming (XP) as well as for developers who use for unit testing for software quality assurance. Unfortunately, some of those valuable hours saved by using NUnit can be wasted trying to master this powerful but under-documented frameworkProof that good things come in small packages, the NUnit Pocket Reference is a complete reference to NUnit, filling in the blanks left by the existing documentation and online discussion. It offers developers everything they need to know to install, configure, and use NUnit; the NUnit user interface; and a reference to the NUnit framework classes in a slim but well-organized package. This handy little book even offers practical, real world NUnit examples. And with the NUnit Pocket Reference, IT managers will know to expect when they implement unit testing in their projects. It is the only book you'll need on this popular and practical new open source framework.


Product Details

ISBN-13: 9780596552886
Publisher: O'Reilly Media, Incorporated
Publication date: 08/25/2004
Series: Pocket Reference (O'Reilly)
Sold by: Barnes & Noble
Format: eBook
Pages: 96
File size: 2 MB

About the Author

Bill Hamilton is a technology and management consultant who specializes in assessing business objectives and company processes and designing and restructuring technology strategy and enterprise architecture. Bill has been designing, developing, and implementing enterprise solutions for 15 years using both Microsoft and J2EE technologies. Bill is the author of O'Reilly titles including the highly praised Programming SQL Server 2005 and ADO.NET Cookbook, and also writes for Microsoft Developer Network.

Table of Contents

Introduction1
Unit Testing3
Testing Software3
What Is Unit Testing and Where Did It Come from?7
Test-Driven Development9
Test Harness10
Unit Test Design and Development Overview10
Best Practices for Unit Testing11
What Is NUnit?12
How Does NUnit Work?12
Setting Up NUnit13
Prerequisites13
Programming Languages14
Getting NUnit14
Installing NUnit14
Configuring NUnit16
Manual Installation17
Navigating the Source Code18
Unit Testing with NUnit18
Creating a Test21
Running a Test25
Assertions26
Other Testing Elements31
Test Runner GUI38
User Interface38
NUnit Projects49
Running Tests58
Running the Test Runner GUI from the Command Line64
Test Runner Console66
Debugging with NUnit70
Testing with Mock Objects73
Compatibility74
Using NUnit 2.1 Tests with NUnit 2.274
Using NUnit 2.0 Tests with NUnit 2.274
Upgrading from NUnit 1.x to 2.275
Changes from NUnit 2.1 to 2.276
Changes from NUnit 2.0 to 2.177
Extending NUnit79
Integrating NUnit with Visual Studio .NET79
NUnit Addln for Visual Studio .NET79
VSNUnit82
NUnitAsp83
NCover83
NAnt84
Nantpad84
Index85
From the B&N Reads Blog

Customer Reviews