Pragmatic Unit Testing In C# with Nunit
By: Dave Thomas, Andy Hunt | Publisher: Shroff/Pragmatic Bookshelf | Year: 2006
ISBN: 9788184040722
MRP: Rs. 200.00
You Pay: Rs. 180.00
You save: Rs. 20.00 ( 10% )
Usually ships in 2-3 days
Reward points: 1 points
⚠️ Ships only in Bangladesh, Bhutan, India, Nepal, and Sri Lanka.
Description
Learn how to improve your C# coding skillsusing unit testing. Despite it's name, unit testing is really a codingtechnique, not a testing technique. Unit testing is done by programmers, forprogrammers. It's primarily for our benefit: we get improved confidence in ourcode, better ability to make deadlines, less time spent in the debugger, andless time beating on the code to make it work correctly. This book shows how towrite tests, but more importantly, it goes where other books fear to tread andgives you concrete advice and examples of what to test--the common things thatgo wrong in all of our programs. Discover the tricky hiding places where bugsbreed, and how to catch them using the freely available NUnit framework. It'seasy to learn how to think of all the things in your code that are likely tobreak. We'll show you how with helpful mnemonics, summarized in a handy tipsheet (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'llalso cover how to use Mock Objects for testing, how to write high quality testcode, and how to use unit testing to improve your design skills. We'll show youfrequent "gotchas"--along with the fixes--to save you time whenproblems come up. But the best part is that you don't need a sweeping mandateto change your whole team or your whole company. You don't need to adoptExtreme Programming, or Test-Driven Development, or change your developmentprocess in order to reap the proven benefits of unit testing. You can startunit testing, the pragmatic way, right away.