HOME
Most Popular
New Books

Unit Testing in C# with Nunit

Unit Testing in C# with NunitISBN:0974514020
Pages:176
Date:2004-05
Publisher:The Pragmatic Programmers
Rating:5.0

Read Unit Testing in C# with Nunit Online

   

Book Description

Learn how to improve your C# coding skills using unit testing. Despite it's name, unit testing is really a coding technique, not a testing technique. Unit testing is done by programmers, for programmers. It's primarily for our benefit: we get improved confidence in our code, better ability to make deadlines, less time spent in the debugger, and less time beating on the code to make it work correctly. This book shows how to write tests, but more importantly, it goes where other books fear to tread and gives you concrete advice and examples of what to test--the common things that go wrong in all of our programs. Discover the tricky hiding places where bugs breed, and how to catch them using the freely available NUnit framework. It's easy to learn how to think of all the things in your code that are likely to break. We'll show you how with helpful mnemonics, summarized in a handy tip sheet (also available from our www.pragmaticprogrammer.com website). With this book you will:

  • Write better code, and take less time to write it
  • Discover the tricky places where bugs breed
  • Learn how to think of all the things that could go wrong
  • Test individual pieces of code without having to include the whole project
  • Test effectively with the whole team
We'll also cover how to use Mock Objects for testing, how to write high quality test code, and how to use unit testing to improve your design skills. We'll show you frequent "gotchas"--along with the fixes--to save you time when problems come up. But the best part is that you don't need a sweeping mandate to change your whole team or your whole company. You don't need to adopt Extreme Programming, or Test-Driven Development, or change your development process in order to reap the proven benefits of unit testing. You can start unit testing, the pragmatic way, right away./p>

Reviews From AMAZON.COM


Clear and concise


The message of this book is: responsible developers unit test, and it's easy to do, so do it! If you're tired of reading 800 page books that should've been 200 pages, then you will find this book a refreshing change. It gets straight to the point, explaining in an easy-to-read style how to unit test .NET applications, including how to install & use the popular NUnit & NMock tools. It also explains how to design effective unit tests, and what to do in common problem situations (such as incomplete requirements). It is a great first book on unit testing for .NET, but since it is a pragmatic guide it does not cover the more esoteric, quirky issues you may run into. It also does not discuss or promote test-driven development techniques and theories. It is strictly a nuts & bolts discussion of .NET unit testing with NUnit & NMock, but if you need to be unit testing today (not next month), then this is the book to get.

Highly recommended for any programmer

he collaboration of andy Hunt and Dave Thomas (partners in The Pragmatic Programmers LLC, developers of complex software systems), Pragmatic Unit Testing in C# with NUnit is the second of the three volume "The Pragmatic Starter Kit" series. Offering the reader instruction in how to write better, cleaner code faster with fewer bugs regardless of one's programming language, and how to use the freely available NUnit library in C# for unit testing, Pragmatic Unit Testing in C# with NUnit combines thorough instructions with sample code and expert debugging tips, tricks, and techniques. Highly recommended for any programmer seeking to improve and polish his or her skills.

NEW!!!

TOOOO Many results in general search?!! Try this customized search engine for searching online books