Test Driven Development in .NET (Microsoft Professional)

ClanBrandon Books
view more info on this item
click here for more details, find new or used items

J. Newkirk

Our price £26.59 (£27.99)
New from £9.02
Used from £8.92

Pages: 304 (Paperback)

ISBN: 0735619484

Pub: Microsoft Press,U.S.

Pub date: 2004-02-01

Amazon.co.uk Sales Rank: 126948

Check for 3rd party sellers (new/used)

Reader Reviews:


1/5 stars

A fairly poor introduction to unit testing and TDD (2/2 people found this helpful)

This book gives only a very basic introduction to the concepts of unit testing and test-driven development (TDD).

Much of the volume of the book is taken up with examples and "test cases" which are listed explicitly and in full detail. A better approach may have been: to explain the concepts of "test cases"; cover only one or two "test cases" in detail; leave the fully worked example as a code listing (where the user can read the tests and understand what each is meant to achieve).

Where it most noticably falls down is in dealing with difficult test scenarios (such as code dependant on Singletons), and how to write code in order for it to be testable. A section on maintaining legacy code would also be a welcome addition, which is sadly amiss. Concepts of abstraction layers, mocking and extension classes (all vital in effective unit testing) are not mentioned at all.

On a personal note, as a purist I would also question the use of some of the unit tests, as they seem rather to be functional tests. Dependence on config settings, pre-configured databases and XML files break away from the concepts of unit testing.

I would not recommend this book, except possibly to developers new to the field of unit testing and TDD, and even then I would be hesitant.

Similar Products

Extreme Programming Adventures in C# (DV-Microsoft Professional)

Agile Principles, Patterns, and Practices in C# (Robert C. Martin)

Head First Design P (Head First)

Test Driven Development (The Addison-Wesley signature series)

Pro C# and the .NET 3.5 Platform, Fourth Edition

Categories

Amazon.co.uk places this book into the following categories:

Books -> Subjects -> Computing & Internet -> General
Books -> Subjects -> Computing & Internet -> Programming -> Software Design, Testing & Engineering -> Software Testing
Books -> Subjects -> Computing & Internet -> Programming -> General AAS
Books -> Subjects -> Computing & Internet -> Programming -> Languages & Tools -> General AAS
Books -> Subjects -> Computing & Internet -> Programming -> Microsoft Windows -> .Net -> General AAS
Books -> Subjects -> Computing & Internet -> Digital Lifestyle -> Online Shopping -> Amazon
Books -> Subjects -> Computing & Internet -> Digital Lifestyle -> Online Shopping -> General AAS
Books -> Subjects -> Computing & Internet -> Digital Lifestyle -> Internet Searching -> General AAS
Books -> Subjects -> Computing & Internet -> General AAS
Books -> Subjects -> Computing & Internet -> Software & Graphics -> General AAS
Books -> Special Features -> Search Inside!
Books -> Refinements -> Language (feature_browse-bin) -> English
Books -> Refinements -> Age (feature_two_browse-bin)
Books -> Refinements -> Format (binding_browse-bin) -> Paperback
Books -> Refinements -> Condition (condition-type)

 

ClanBrandon Books | Prague airport transfer | Dreamweaver | Short Term Missions | English Teacher Jobs in the Czech Republic
Czech Republic | Operation Mobilisation | Czech Republic Map