Customer Reviews


16 Reviews
5 star:
 (8)
4 star:
 (2)
3 star:
 (3)
2 star:
 (2)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
Share your thoughts with other customers
Create your own review
 
 
Only search this product's reviews

The most helpful favorable review
The most helpful critical review


16 of 17 people found the following review helpful:
5.0 out of 5 stars You need this book in your Agile Library!!!
Test-Driven Development in Microsoft.NET rises head and shoulders above the other books on the subject. While I know that is a very strong statement to make, the authors have made the focus of the book a very practical one. Don't get me wrong, there are several other great books on this subject, but they all seem to fall down when it comes to real-world situations...
Published on July 29, 2005 by John Alexander

versus
55 of 63 people found the following review helpful:
3.0 out of 5 stars Good, but derivate and incomplete
If you want to really learn about test driven development, go to the original book by Beck. If you really want to learn about refactoring, go to the original book by Fowler.

This book does try to cover virgin territory with testing apps that use databases and web interfaces - but it really falls apart at the Web GUI interface level (not to be confused with the Web...

Published on June 12, 2004 by David Laub


‹ Previous | 1 2 | Next ›
Most Helpful First | Newest First

55 of 63 people found the following review helpful:
3.0 out of 5 stars Good, but derivate and incomplete, June 12, 2004
By 
Amazon Verified Purchase(What's this?)
This review is from: Test-Driven Development in Microsoft .NET (Microsoft Professional) (Paperback)
If you want to really learn about test driven development, go to the original book by Beck. If you really want to learn about refactoring, go to the original book by Fowler.

This book does try to cover virgin territory with testing apps that use databases and web interfaces - but it really falls apart at the Web GUI interface level (not to be confused with the Web services interface level, which the book covers well). The techniques recommended in the book essentially try to simulate a web GUI interface with nUnit versus actually using an existing web GUI interface. With one Web form, maybe this isn't too much duplication, but with a large Web app, this is just silly - plus it never tests the actual Web client, so the test results are obviously incomplete. The authors neglect how easy it is to truly test a Web GUI interface - with java based tools (JWebUnit & HttpUnit) which build on top of xUnit, and which work fine on any web app (including asp.net) dot net programmers will need a little understanding of java syntax to use these tools, but java and c# and so nearly identical syntactically for the subset needed, that this is not much of an issue. I hope native ports of these tools to the dot net world are coming soon, but you can live without them and still test Web GUIs easily enough with a little java knowledge, and the authors are remiss in neglecting this.

Plus the blurb on Amazon about the book promised a Windows Form based example - and this is NOT in the book at all!

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


16 of 17 people found the following review helpful:
5.0 out of 5 stars You need this book in your Agile Library!!!, July 29, 2005
By 
This review is from: Test-Driven Development in Microsoft .NET (Microsoft Professional) (Paperback)
Test-Driven Development in Microsoft.NET rises head and shoulders above the other books on the subject. While I know that is a very strong statement to make, the authors have made the focus of the book a very practical one. Don't get me wrong, there are several other great books on this subject, but they all seem to fall down when it comes to real-world situations.

The book is split into two parts; Part I is an overview of Test-Driven Development, and Part II covers using TDD to develop an example application.

Chapter 1 frames the entire discussion with an overview of Test-Driven Development concepts, including some straightforward guidelines for design. I thought it was laid out in very logical fashion.

Chapter 2 throws you right into the process it's a classic stack example, found in many other TDD books. What I liked most about it though, was that the chapter began with discussing HOW you start figuring out WHAT tests to write as you develop an application.

Chapter 3 covers another critical concept of TDD Refactoring. (What's Refactoring? You askread chapter 3 ;) ). Again, the authors walk you through a short yet concise primer using the Sieve of Eratosthenes implemented in C#. They introduce the algorithm and then discuss it in light of code refactoring techniques as implemented originally in Martin Fowler's Refactoring: Improving the Design of Existing Code.

Chapter 4 is the introduction of the example application that will be the focus of the remainder of the book. It lays out the scenario, project features and constraints of the fictitious project.

Chapter 5 covers an area that I've found generates a ton of interest when developers start thinking about TDD, namely data access. I really appreciated the practical approach that the authors took when writing the implementation chapters for the example application. I found the tests surrounding entities and relationships and the resulting explanations to be very good.

Chapter 6 covers how you create tests when implementing Web Services. In the process, the service interface pattern is discussed along with refactoring Web Services. The authors attempt to lead you through a "thought framework" for creating tests through each of the implementation chapters.

Chapters 7, 8, and 9 make a shift from programmer testing to customer testing and cover differing aspects of customer or acceptance testing. This group of chapters starts with an overview of acceptance testing and techniques. The middle chapter deals with driving development up through the implemented layers from a user or customer perspective. Chapter 9 rounds out the discussion by focusing on handling faults and how acceptance testing allows you to tighten things up.

Chapter 10 leads us back to the programmer testing side by dealing with transactions. Following this, Chapter 11 introduces the reader to Service-level refactoring, leading you through the thought process behind different techniques. The story winds down in Chapter 12 with applying the process of TDD to implementing a web client.

All in all, while I'd have like to have seen a both a simpler example and always more "real world" tips and tricks, I can tell you from my own experience that finding that balance is extremely difficult. I believe the authors have made a significant attempt at striking the "real world" / simplicity balance and that the resulting outcome is an excellent resource for learning TDD. When that is combined with the level of effort the authors are putting in to maintaining the code and forums at their GotDotNet workspace, this makes Test-Driven Development in Microsoft .NET an excellent choice for your library.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


16 of 17 people found the following review helpful:
3.0 out of 5 stars 7/10, July 18, 2004
This review is from: Test-Driven Development in Microsoft .NET (Microsoft Professional) (Paperback)
I give this book seven out of ten

What I liked about it:
It is easily to read. The topics are well presented and clearly defined.
The book introduces the concepts behind TDD (Test Driven Development)
Some of the less trivial aspects of TDD are discussed, like testing web services or using transactions.
Refactoring is introduced very well in chapter three.
The concepts of FIT are well explained and demonstrated.

In order to get a ten:
The book needs to decide who the target audience is. The material seemed too hard for a first introduction book and too simple for advanced developers.
As the book is about TDD it should have spent more time examining the benefits of developing software using this approach.
I would have liked to have seen more real world (hard to solve) problems tackled.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


12 of 13 people found the following review helpful:
5.0 out of 5 stars Practical How-To, April 3, 2004
By A Customer
This review is from: Test-Driven Development in Microsoft .NET (Microsoft Professional) (Paperback)
Great hands on tutorial for unit (NUnit) and user testing (fit.c2). The authors provide practical advice on how to refactor software, as well as, code ala Test-Driven Development.

FYI, the demonstrations are written in C# with some very "real" senarios.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


15 of 17 people found the following review helpful:
5.0 out of 5 stars Great introduction to TDD on .NET, June 28, 2004
This review is from: Test-Driven Development in Microsoft .NET (Microsoft Professional) (Paperback)
Obviously, the best way to learn TDD is by doing it, but a short tutorial like this helps immensely. I bought this book to fill in TDD and NUnit gaps after learning the ropes at work from an experienced TDD Java developer. The book covers the basic principals of TDD and provides a thorough NUnit tutorial. Other reviewers nitpicked the web unit testing section and the depth of coverage, but all neglected to mention that the book is mercifully short. What sort of depth do you want on a very complex and subjective topic like TDD in ~250 pages? In my opinion:

1) A good xUnit tutorial
2) Coverage of the principals of TDD
3) Basic examples of TDD principals and xUnit applied in the target language/platform

This book provides all three. After reading through just a few chapters, I embarked on a TDD-based project at work that now has several hundred tests. The info in the book directly contributed to a solid design for my tests, which has proven to be quite scalable across dozens of classes and an extreme amount of refactoring due to new requirements and bug fixing. I can't ask for more than that from such a short book.

In my opinion, it's not the author's responsibility to dictate the best tools to use for every single TDD situation--NUnit coverage is good enough to get any experienced programmer started, and it's really up to you to experience and discover the right tools for the job. TDD is a fairly new concept for .NETers (so new that MS won't have any tools of their own for TDD until Visual Studio 2005 is released), and tools are popping up almost monthly on SourceForge for testing ASP.NET, WinForms, and for integrating NUnit into Visual Studio.

Cheers to James and Alexei for putting forth such a great, short introduction to TDD for everyone on .NET.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


19 of 24 people found the following review helpful:
1.0 out of 5 stars You can't judge a book by its cover, June 3, 2004
By 
Michael E Weliczko (Buffalo Grove, IL United States) - See all my reviews
This review is from: Test-Driven Development in Microsoft .NET (Microsoft Professional) (Paperback)
When picking up this book for the first time, I expected to be submersed in the concepts of test driven development with some specific Microsoft .Net principles here and there.

Instead, the book presented a brief conceptual look at TDD, which was a good start. Then, the authors dove into how to develop a very extensive music system using SQLServer and .Net data access objects, sporadically sprinkled with unit tests.

If the reader wanted to learn how to build a complicated database driven system, the reader would buy a SQLServer book. The concepts needed to demonstrate the principles of TDD with .NET could have been much more clearly demonstrated with a much simpler example. Perhaps, fewer tables in the schema and more tests.

Even more frustrating was the way that the authors violated one of the key principles of TDD outlined in the first few chapters: Red, Green, Refactor. Consistently, the authors would implement a piece of functionality in the example and then go back and write a test for it. My colleagues and I have been using TDD for about a year and learned from experience that writing code before a test is difficult, pointless, and contradictory.

I recommend "Test-Driven Development: By Example" by Kent Beck for a more true conceptual explanation of TDD. The examples are in Java but it is simple enough to translate to C# without a problem.

After reading the Beck book, the documentation for NUnit and Fit (the technologies discussed in the book) is much more helpful if the reader wants to learn how to use the specific technology.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4 of 4 people found the following review helpful:
5.0 out of 5 stars Changes Your View, January 28, 2005
This review is from: Test-Driven Development in Microsoft .NET (Microsoft Professional) (Paperback)
Many people think that Test-Driven Development (TDD) is all about testing software. In fact, test-driven development's main goal is not testing software, but aiding the programmer and customer during the development process with unambiguous requirements. The requirements are in the form of tests that the software must pass along the development process.

This procedure helps to insure that problems are found early and corrected while they are still small.

This book first discusses TDD from a conceptual point of view then gives a TDD example using a realistic application.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 3 people found the following review helpful:
5.0 out of 5 stars First exposure to test driven development, September 29, 2005
This review is from: Test-Driven Development in Microsoft .NET (Microsoft Professional) (Paperback)
I attended a workshop on test driven development presented by James Newkirk. I was so intrigued with the concept that I had to go out and get his book to find out more. As a result our project now uses NUnit, TestDriven.net for test driven development and find that this has really boosted confidence in the developers and their code. The concept of test-driven development is a very useful agile method of writing code to the requirements based on tests (Red/Green/Refactor). This has certainly changed my perspective towards development and want to thank James Newkirk for purveying this concept.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful:
4.0 out of 5 stars Great pump-primer for ASP.NET developers, September 1, 2006
This review is from: Test-Driven Development in Microsoft .NET (Microsoft Professional) (Paperback)
For .NET developers new to test-driven-development who want a recipe for the process, an invaluable book. This is not a concept book, but rather a concrete example that gets a little loose towards the end. Those who have also adopted Model-View-Controller for their ASP.NET applications will be able to logically extend the first half of the book to test their web interfaces, something that is admittedly difficult using the "stock" ASP.NET design philosophy.

I would supplement this book with Pragmatic Unit Testing with nUnit and C#, which gives you a much higher-level view of how to utilize TDD on a daily basis.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2.0 out of 5 stars Expected more in-depth, December 21, 2009
Amazon Verified Purchase(What's this?)
This review is from: Test-Driven Development in Microsoft .NET (Microsoft Professional) (Paperback)
The book was a decent into to TDD, however given the description I expected it to go more in depth into handling the issues of database access testing, ASP.NET, and other mocking issues. The book only touches on these issues, and does not get into the deeper problems that arise, especially when a larger system has lots of interactions among it's parts.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


‹ Previous | 1 2 | Next ›
Most Helpful First | Newest First

This product

Test-Driven Development in Microsoft  .NET (Microsoft Professional)
Test-Driven Development in Microsoft .NET (Microsoft Professional) by James Newkirk (Paperback - April 14, 2004)
Used & New from: $1.90
Add to wishlist See buying options