Pragmatic Unit Testing in C# with NUnit

Pragmatic Unit Testing in C# with NUnit

by Andrew Hunt, David Thomas

159 pages· 2004· ISBN 9780974514024

Browse books you can read free on Readfeed

No club is reading this yet — be the first to start one

Start a club free
About
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 ourwww.pragmaticprogrammer.comwebsite). 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.

Discuss Pragmatic Unit Testing in C# with NUnit with other readers

Join or start a book club for Pragmatic Unit Testing in C# with NUnit on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Pragmatic Unit Testing in C# with NUnit?

Sign up free on Readfeed, then browse public clubs or start your own club with Pragmatic Unit Testing in C# with NUnit as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Pragmatic Unit Testing in C# with NUnit with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Pragmatic Unit Testing in C# with NUnit with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.