NUnit Pocket Reference [NOOK Book]

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 ...

See more details below
NUnit Pocket Reference

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$6.99
BN.com price
(Save 12%)$7.99 List Price

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.

Read More Show Less

Product Details

  • ISBN-13: 9780596552886
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 8/25/2004
  • Series: Pocket Reference (O'Reilly)
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 96
  • Sales rank: 1,392,755
  • File size: 2 MB

Meet the Author

Hamilton is a software architect who specializes in designing, developing, and implementing distributed applications using .NET and J2EE technologies.

Read More Show Less

Table of Contents

Introduction 1
Unit Testing 3
Testing Software 3
What Is Unit Testing and Where Did It Come from? 7
Test-Driven Development 9
Test Harness 10
Unit Test Design and Development Overview 10
Best Practices for Unit Testing 11
What Is NUnit? 12
How Does NUnit Work? 12
Setting Up NUnit 13
Prerequisites 13
Programming Languages 14
Getting NUnit 14
Installing NUnit 14
Configuring NUnit 16
Manual Installation 17
Navigating the Source Code 18
Unit Testing with NUnit 18
Creating a Test 21
Running a Test 25
Assertions 26
Other Testing Elements 31
Test Runner GUI 38
User Interface 38
NUnit Projects 49
Running Tests 58
Running the Test Runner GUI from the Command Line 64
Test Runner Console 66
Debugging with NUnit 70
Testing with Mock Objects 73
Compatibility 74
Using NUnit 2.1 Tests with NUnit 2.2 74
Using NUnit 2.0 Tests with NUnit 2.2 74
Upgrading from NUnit 1.x to 2.2 75
Changes from NUnit 2.1 to 2.2 76
Changes from NUnit 2.0 to 2.1 77
Extending NUnit 79
Integrating NUnit with Visual Studio .NET 79
NUnit Addln for Visual Studio .NET 79
VSNUnit 82
NUnitAsp 83
NCover 83
NAnt 84
Nantpad 84
Index 85
Read More Show Less

Customer Reviews

Average Rating 4
( 1 )
Rating Distribution

5 Star

(0)

4 Star

(1)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted September 24, 2004

    straightforward to use

    Unit testing is an ideal that many programming projects should aspire to. Like yours, eh? In Java, that gave rise to JUnit. Well, as .NET has grown, so did the need for unit testing in it. From the open source movement, we now have NUnit. Still not as well known as JUnit. Which may add to the need for this book. A quick pocket reference that is competently done. Lets you easily thumb through and get what you need. The attraction of NUnit is that it can automate a framework for unit testing. There is really not much to NUnit, as attested by the book. But, then again, there is not much need for anything more complicated.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)