or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
13 used & new from £26.47

Have one to sell? Sell yours here
 
   
Unit Testing in Java: How Tests Drive the Code (The Morgan Kaufmann Series in Software Engineering and Programming)
 
 

Unit Testing in Java: How Tests Drive the Code (The Morgan Kaufmann Series in Software Engineering and Programming) (Paperback)

by Johannes Link (Author) "Testing is important ..." (more)
4.0 out of 5 stars  See all reviews (3 customer reviews)
RRP: £35.99
Price: £26.47 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £9.52 (26%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Usually dispatched within 9 to 12 days.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.

7 new from £26.47 6 used from £30.56

Frequently Bought Together

Customers buy this book with Design Patterns Explained: A New Perspective on Object-Oriented Design (Software Patterns) by Alan Shalloway

Unit Testing in Java: How Tests Drive the Code (The Morgan Kaufmann Series in Software Engineering and Programming) + Design Patterns Explained: A New Perspective on Object-Oriented Design (Software Patterns)
Price For Both: £45.46

One of these items ships sooner than the other. Show details


Customers Who Bought This Item Also Bought

Design Patterns Explained: A New Perspective on Object-Oriented Design (Software Patterns)

Design Patterns Explained: A New Perspective on Object-Oriented Design (Software Patterns)

by Alan Shalloway
4.6 out of 5 stars (5)  £18.99
UML Distilled: A Brief Guide to the Standard Object Modeling Language (Addison-Wesley Object Technology Series)

UML Distilled: A Brief Guide to the Standard Object Modeling Language (Addison-Wesley Object Technology Series)

by Martin Fowler
4.0 out of 5 stars (23)  £15.68
Pragmatic Version Control: Using Subversion (Pragmatic Programmers)

Pragmatic Version Control: Using Subversion (Pragmatic Programmers)

by Mike Mason
4.5 out of 5 stars (4)  £14.76
Agile Java: Crafting Code with Test-Driven Development (Robert C. Martin)

Agile Java: Crafting Code with Test-Driven Development (Robert C. Martin)

by Jeff Langr
4.8 out of 5 stars (4)  £17.99
Refactoring: Improving the Design of Existing Code (Object Technology Series)

Refactoring: Improving the Design of Existing Code (Object Technology Series)

by Martin Fowler
4.3 out of 5 stars (20)  £22.77
Explore similar items

Product details


Customers Viewing This Page May Be Interested in These Sponsored Links

  (What is this?)
   Automated Unit Testing opens new browser window
www.parasoft.com  -  Parasoft automates unit testing 20+ year market leader – Free Eval 
   The Java GUI Test Tool opens new browser window
www.qfs.de  -  Automate your Java Swing + SWT GUI regression testing with QF-Test
   SUN JAVA Exam Questions opens new browser window
www.Whizlabs.com/Java  -  Study Notes, Reports, Tips, Tricks Success Guarantee, Try Free Now 
  
 

Product Description

Review

"I haven't found a high quality book like this on JUnit. Unit Testing in Java does for unit testing what Alan Cooper's About Face did for usability: it makes unit testing mainstream among developers. - Frank Cohen, Push to Test


Product Description

Software testing is indispensable and is one of the most discussed topics in software development today. Many companies address this issue by assigning a dedicated software testing phase towards the end of their development cycle. However, quality cannot be tested into a buggy application. Early and continuous unit testing has been shown to be crucial for high quality software and low defect rates. Yet current books on testing ignore the developer's point of view and give little guidance on how to bring the overwhelming amount of testing theory into practice. Unit Testing in Java represents a practical introduction to unit testing for software developers. It introduces the basic test-first approach and then discusses a large number of special issues and problem cases. The book instructs developers through each step and motivates them to explore further.

*Shows how the discovery and avoidance of software errors is a demanding and creative activity in its own right and can build confidence early in a project.
*Demonstrates how automated tests can detect the unwanted effects of small changes in code within the entire system.
*Discusses how testing works with persistency, concurrency, distribution, and web applications.
*Includes a discussion of testing with C++ and Smalltalk.

Inside This Book (Learn More)
First Sentence
Testing is important. Read the first page
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product)
 
java
xunit
tdd
junit

Your tags: Add your first tag
 

What Do Customers Ultimately Buy After Viewing This Item?

Unit Testing in Java: How Tests Drive the Code (The Morgan Kaufmann Series in Software Engineering and Programming)
60% buy the item featured on this page:
Unit Testing in Java: How Tests Drive the Code (The Morgan Kaufmann Series in Software Engineering and Programming) 4.0 out of 5 stars (3)
£26.47
Test Driven: TDD and Acceptance TDD for Java Developers
18% buy
Test Driven: TDD and Acceptance TDD for Java Developers 5.0 out of 5 stars (1)
£20.71
Agile Java: Crafting Code with Test-Driven Development (Robert C. Martin)
17% buy
Agile Java: Crafting Code with Test-Driven Development (Robert C. Martin) 4.8 out of 5 stars (4)
£17.99
Test Driven Development: A Practical Guide (Coad)
3% buy
Test Driven Development: A Practical Guide (Coad) 4.5 out of 5 stars (6)
£15.99

 

Customer Reviews

3 Reviews
5 star:
 (1)
4 star:
 (1)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.0 out of 5 stars (3 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
3 of 3 people found the following review helpful:
5.0 out of 5 stars Solid and practical, if occasionally quirky, 10 Dec 2003
By Johannes Link (Heidelberg) - See all my reviews
(REAL NAME)   
This book starts by covering general techniques in unit testing, including when and why to do it, how to know if you are doing it right, and how it integrates with other development practices. This is good stuff, but mostly also covered in other books. The section on Mock Objects is especially well done though, illuminating an often misunderstood topic area.

The latter half is where this book shines. It tackles some of the really tough areas and does it very well. Singletons, database persistence, asynchronous services, concurrent and distributed systems, web applications and graphical user interfaces; all these are often skipped over as "too hard to test". If you've ever found yourself thinking something like that, you need this book.

This book is a translation from a German original. Although the translators have done a tremendous job with the technical content, sometimes a phrase or section title, especially in the initial introduction can seem very unusual. Don't be put off by the quirky language in the early chapters, the meat of the book is well worth reading and putting into practice. This book is a masterly example of how to convert programming theory into solid, practical advice.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
2 of 2 people found the following review helpful:
4.0 out of 5 stars Provides value beyond introductory books, 12 Mar 2006
By A Customer
If you feel that you want to go beyond introductory material on TDD, but don't want to get bogged down in specifics of 'recipe'-style unit testing books, this will provide value, while providing plenty of material to come back to as you extend your TDD attempts to more advanced areas.

Unit Testing in Java covers similar ground to Dave Astels' Test Driven Development - A Practical Guide. The structures of the books are very similar. There's an introduction to Agile processes (most importantly, refactoring), an introducion to JUnit and Test Driven Development with a step-by-step tutorial, and then a discussion of mock objects.

Advanced topics cover testing databases, threaded programs, RMI, EJB (but really only to say that it's virtually impossible to do it well), web pages (with HttpUnit) and servlets (with Cactus), and GUIs. Appendices cover extensions to JUnit and unit testing in other languages, although, unlike the Astels book, only Smalltalk and C++ are covered to any depth.

Despite the similar scope, there are some interesting contrasts between this book and Astels. The Astels book is more hands-on tutorial, while this book offers a series of guidelines for specific areas. The chapter on mock objects is also superior to that of the Astels book. It also covers a wider range of applications, although one might consider both this and the Astels book to be more valuable for their introductory material, rather than any specific applications.

Although many people suggest the Beck book on TDD, or the Pragmatic Programmer's introduction to JUnit, this, plus the copious tutorials that are avialble on the internet, make those introductory books unnecessary. If you had to choose one book, perhaps this one would just shade it over the Astels volume, mainly for the first half of the book, which gives concise advice, and also for the excellent treatment of mock objects.

For persuading a newcomer of the merits of Test Driven Development, the Astels book may be more effective, or the long pair programming example in Robert C. Martin's Agile Software Development. An even better place to start is Jeff Langr's Agile Java. However, this makes sense as a good follow up to any of those books.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
1 of 1 people found the following review helpful:
3.0 out of 5 stars As good as it is, it is not enough... for me, 4 Jan 2004
By Paolo Marino "pamar" (Torino, TO Italy) - See all my reviews
(REAL NAME)   
This is my first book on Test Driven Design/Test First and similar methodologies. I confirm that the book is well written and tries to offer practical advice even for things (like GUI and EJBs) where most people agree that TDD is difficult to use.

The big problem, for me, is that even if the author does his best, the result fails to "convince". Proponents of the TDD approach like to emphasize that the real benefit is in better design (and easier refactoring), not in actual testing. Unfortunately, this is something that it is very difficult to capture in a book, where examples are necessarily simplified, and you cannot appreciate the system-wide consequences of the approach.

Perhaps it is just me: until I actually try my hand at TTD I cannot realize the real benefits, and just as when we started using Structured Programming first, and OO later, most of the examples, even if lucidly explained like in this case, always felt artificial.

A good book nonetheless, especially becaus offers a lot of pointers to other texts and to frameworks and libraries to enhance your automated testing.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback

Ad

Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.