£22.93
FREE Delivery in the UK.
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Practical Unit Testing wi... has been added to your Basket
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 3 images

Practical Unit Testing with JUnit and Mockito Paperback – 23 Apr 2013

4.6 out of 5 stars 7 customer reviews

See all formats and editions Hide other formats and editions
Amazon Price
New from Used from
Paperback
"Please retry"
£22.93
£22.93 £36.23
Note: This item is eligible for click and collect. Details
Pick up your parcel at a time and place that suits you.
  • Choose from over 13,000 locations across the UK
  • Prime members get unlimited deliveries at no additional cost
How to order to an Amazon Pickup Location?
  1. Find your preferred location and add it to your address book
  2. Dispatch to this address when you check out
Learn more
£22.93 FREE Delivery in the UK. In stock. Dispatched from and sold by Amazon. Gift-wrap available.
click to open popover

Special Offers and Product Promotions


Frequently Bought Together

  • Practical Unit Testing with JUnit and Mockito
  • +
  • Spring in Action
  • +
  • Java 8 in Action: Lambdas, Streams, and functional-style programming
Total price: £79.54
Buy the selected items together

Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone

To get the free app, enter your mobile phone number.




Product details

  • Paperback: 402 pages
  • Publisher: Tomasz Kaczanowski (23 April 2013)
  • Language: English
  • ISBN-10: 8393489393
  • ISBN-13: 978-8393489398
  • Product Dimensions: 19 x 2.3 x 23.5 cm
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (7 customer reviews)
  • Amazon Bestsellers Rank: 283,896 in Books (See Top 100 in Books)

Product Description

About the Author

Tomek Kaczanowski is a technical team leader from Krakow, Poland. He has a strong interest in code quality, testing and automation - preferably all three together. Combining technical with soft skills, he also ventures into the realms of mentoring, teaching, lecturing and article writing, not to mention preaching sermons to the unconverted in the hope of redeeming them (or at least their code)! He hates doing things manually, and is allergic to empty src/test/java directories. Tomek believes that by working with legacy code, and improving it, he can make the world a better place. To his disappointment, the world does not seem to care all that much about his efforts. Apart from all this weirdness, he is a pretty normal person – a husband, father of two, and cat owner.


Customer Reviews

4.6 out of 5 stars
Share your thoughts with other customers

Top Customer Reviews

Format: Paperback Verified Purchase
I have been very resistant to embracing TDD totally and have dismissed over the years as yet another band wagon/fad. This book has totally changed my mind and converted me.

It is also one of the most readable technical books I have come across. It has the ideal balance of information, examples, exercises and humour.

What's even more impressive (IMO) is that English is Tom(ek)'s second language and credit to his editor making what could be a very dull and dry topic interesting and making me want to "test first".

Look forward to version 2 with a few chapters on testing Android Apps.Excellent.
Comment 2 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
In a nutshell: This is an essential book on Unit Testing for both novice and experienced Java developer alike. Practical Unit Testing provides a well-paced and logical introduction into the world of Unit Testing, and also offers the more experienced practitioners a discussion on topics such as defining what to test and verify, how to write high-quality and maintainable tests, and also when (shock horror!) not to test. This book provides a plethora of examples and is extremely pragmatic in it's delivery of how to test in the real world. For anyone who is already a JUnit expert then I would recommend the sister book to this, Practical Unit Testing with TestNG and Mockito, which focuses on testing with TestNG (which IMHO is a genuine competitor to JUnit)

Practical Unit testing is divided into five primary sections: 'Developer's Tests', 'Writing Test', 'Hints and Discussion', 'Listen and Organise' and 'Make them better'. Section 1, 'Developer's Tests', begins by discussing motivations and the core methodology behind testing in general. Unit testing is then defined and the basic concepts introduced to the reader. Section 2 begins by getting the reader to write their first tests, and introduces key concepts such as assertions and parameterised tests.

Section 2 of the book continues with Chapter 4, which introduces the reader to Test Driven Development (TDD), and IMHO this chapter should be read by all Java developers. The author presents an excellent discussion on when to write tests, the 'rhythm' of TDD and the benefits offered, and also provides concrete examples.
Read more ›
Comment One person found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
I approached this booking knowing pretty good Java, decent Android but no Testing experience.

Excellent introduction to vanilla Java testing. I was initially scared of approaching testing hearing it was 'hard' but after reading this book I have been converted (Tomek would be pleased) to TDD, in my view an excellent engineering philosophy for Software design.

Hopefully I'll continue working this way and I have to say many thanks to the author.

I knocked one star off for a few typo errors (insignificant though) and the pretty basic intro, it would be great if the book was longer and Tomek went into JUnit and Mockito in a bit more depth.. thankfully (and gratefully) he uses JUnit4!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
Great book, I read it cover to cover in about 5 sittings and it kept my attention the whole time. Full of valuable insight and pointers to useful techniques which I have already put to good use. Reading this one book will take you from novice to advanced thanks to the broad scope of the content and great expertise of the author.
Comment One person found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse


Feedback