Skip to Content
Windows Developer Power Tools
book

Windows Developer Power Tools

by James Avery, Jim Holmes
December 2006
Intermediate to advanced
1312 pages
35h 17m
English
O'Reilly Media, Inc.
Content preview from Windows Developer Power Tools

10.8 Integrating Unit Testing into Visual Studio with TestDriven.NET

The problem with most unit-testing tools is that they are standalone applications, requiring you to switch back and forth between the IDE in which you write your code and the tool you use to test it. This is especially time-consuming when practicing test-driven development, as you have to switch between your IDE and the testing GUI multiple times for every method that you write.

TestDriven.NET is a Visual Studio add-in that integrates unit-testing functionality directly into Visual Studio. You are no longer forced to switch to another application to execute your tests—you can run tests and view results directly inside Visual Studio. TestDriven.NET works with NUnit, MbUnit, and the testing framework built into Visual Studio Team System editions.

TestDriven.NET also includes features to debug tests, examine code coverage, compile and run tests in .NET 1.1, and run “ad-hoc” tests.

Tip

Shortly before this book went to press Jamie Cansdale, TestDriven.NET’s creator, changed the release model for the tool. TestDriven.NET now comes in two commercial variants, Professional and Enterprise. There is still a free version for hobbyist developers, but using TestDriven.NET on any commercial project requires you to purchase a commercial license. See the tool’s home page for more details.

TestDriven.NET at a Glance

Tool

TestDriven.NET ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Windows Terminal Tips, Tricks, and Productivity Hacks

Windows Terminal Tips, Tricks, and Productivity Hacks

Will Fuqua

Publisher Resources

ISBN: 0596527543Errata PagePurchase book