The NIST estimates that poor testing costs the US economy $60 billion annually. This book gives teams straightforward and proven ways to introduce unit testing into their process, resulting in higher quality and fewer bugs.
All over the world, software teams are using unit testing both to verify their code and as a way of helping them design better code. This book is unique in the way it covers two aspects: showing developers both how to test and helping them determine what to test.
New in the second edition:
- Updated for NUnit 2.4 (.NET 2.0 and Visual Studio 2005)
- More assert methods
- New String and Collection assertion support
- Better support for multiple-platform development
- Higher-level setup and teardown fixtures
- Whole new chapter on extending NUnit
- and more!
""Using the approaches described by Dave and Andy you can reduce greatly the number of defects you put into your code. The result will be faster development of better programs. Try these techniques""--Ron Jeffries, www.XProgramming.com ""Andy and Dave have created an excellent, practical and (of course) very pragmatic guide to unit-testing, illustrated with plenty of examples using the latest version of NUnit.""--Charlie Poole, NUnit framework developer ""The Pragmatic Programmers have done it again with this highly useful guide. Aimed directly at C# programmers using the most popular unit-testing package for the language, it goes beyond the basics to show what you should test and how you should test it. Recommended for all .NET developers.""--Mike Gunderloy, Contributing Editor, ADT Magazine