Pragmatic Unit Testing in C# with NUnit (Pragmatic Programmers)

Pragmatic Unit Testing in C# with NUnit (Pragmatic Programmers)
Автор
 
Год
 
Страниц
 
176
ISBN
 
ISBN10:0974514020
Издатель
 
The Pragmatic Programmers

Описание:

This book is a slim one, just over 200 pages, and provides an easy introduction to writing unit tests. It explains the concept of unit testing, why they are beneficial, and carries on with how to write and manage tests.

The reader is gently introduced to the code, and shown how a unit test can be written without a test framework. NUnit is then introduced and is used to automate most of the gritty details. There is a basic overview of mock objects, and a mention of the NMock tool. The book briefly mentions test-driven development, code coverage, UI tests, and refactoring, but does not go into them in any depth. Which is fine, since this is intended as a focused introduction to unit testing.

For anyone new to unit testing in .NET, this book is worth a read. It does not go into much depth, but does the job as introductory material. If you are already comfortable with unit testing and NUnit, I can recommend The Art of Unit Testing: With Examples in .Net as a more advanced book.

Похожие книги

accountancy standards in Depthaccountancy standards in Depth
Автор: Robert Kirk
Год: 2010
Micro Grinding Mechanics and Machine ToolsMicro Grinding Mechanics and Machine Tools
Автор: Hyung Wook Park
Год: 2010
Build Your Own PC Recording StudioBuild Your Own PC Recording Studio
Автор: John Chappell
Год: 2003
Post-Chicago Developments in Antitrust Law (New Horizons in Law and Economics Series)Post-Chicago Developments in Antitrust Law (New Horizons in Law and Economics Series)
Автор: Antonio Cucinotta, Roberto Pardolesi, Roger Van Den Bergh, Roger Van Den Bergh
Год: 2003
3DS Max 4 In Depth3DS Max 4 In Depth
Автор: Jon McFarland, Rob Polevoi
Год: 2002
Linux+ 2005 In Depth (In Depth)Linux+ 2005 In Depth (In Depth)
Автор: Jason Eckert, M. John Schitka
Год: 2005