Goodreads helps you keep track of books you want to read.
Start by marking “Practical Unit Testing with TestNG and Mockito” as Want to Read:
Practical Unit Testing with TestNG and Mockito
Enlarge cover
Rate this book
Clear rating
Open Preview

Practical Unit Testing with TestNG and Mockito

by
4.17  ·  Rating details ·  36 Ratings  ·  5 Reviews
This book explains in detail how to implement unit tests using two very popular open source Java technologies: TestNG and Mockito. It presents a range of techniques necessary to write high quality unit tests - e.g. mocks, parametrized tests and matchers. It also discusses trade-offs related to the choices we have to make when dealing with some real-life code issues.

The boo
...more
Paperback, 448 pages
Published April 18th 2012 by Tomasz Kaczanowski
More Details... edit details

Friend Reviews

To see what your friends thought of this book, please sign up.

Reader Q&A

To ask other readers questions about Practical Unit Testing with TestNG and Mockito, please sign up.

Be the first to ask a question about Practical Unit Testing with TestNG and Mockito

Community Reviews

(showing 1-30)
Rating details
Sort: Default
|
Filter
Adrienbe
Sep 21, 2012 rated it it was amazing
Without a doubt a great book for beginners in Testing.

Bought only a few months after its publication (2012) I was delighted to find some very up-to-date content.

It has some high level concept but goes into coding too. Simple but effective examples are used.

I also appreciated Thomasz's openness to other ways of thinking & technologies. Reminding (& indicating where to read more abt it!) when required that other techniques also exist and can/should be considered.

I could say much more. But
...more
Tomasz
Jul 20, 2012 rated it really liked it
Recommends it for: almost every Java developer
Shelves: 2012, technical, owned
The less experienced in testing you are, the more you will get from this book. And for people who are testing and using TestNG and Mockito for over a eight or more years: this book is probably not for you.

If you place yourself in the middle, Practical Unit Testing with TestNG and Mockito is still a very good choice as it will help you to systematize all the stuff you already know and meanwhile you will surely learn something new about tools and, worth to note, about general efficient and painles
...more
Adudczak
Oct 20, 2013 rated it really liked it
Shelves: 2013
I am a JUnit person this book gave me a chance to see how TestNG is different which I think was a quite valuable gain and the main reason to read the book in my case.

Apart from this Practical Unit Testing with TestNG and Mockito is a compendium of TDD best practices based on author's own experience. It is a great book for everyone from beginners to moderately advanced practitioners of test first approach. So, if any of the mentioned reasons works for you order this book and enjoy ;-).

Marcin Kuthan
Jul 18, 2012 rated it really liked it
World would be better if every programmer read this book. The book focuses not only on the toolset which perhaps will be outdated very quickly but also/mainly on the OO design and testing principles.

The books have not got maximum score due to my general feeling and some lack of professional publishing and too much "spoken english".
Geraldo Massahud
Sep 05, 2013 rated it it was amazing
Easy to read and, like the name says, very practical. Has good examples and explanation.
Sharad
rated it it was amazing
May 08, 2015
Marcin
rated it really liked it
Oct 31, 2012
Ioana Goga
rated it really liked it
Oct 22, 2012
Bartek
rated it it was amazing
Oct 11, 2013
Bartosz Bilicki
rated it it was amazing
Aug 15, 2015
Ryan Schmitt
rated it really liked it
Dec 13, 2014
Benoit
rated it it was amazing
Feb 22, 2013
Bob Kozik
rated it really liked it
May 19, 2017
Martin
rated it really liked it
Jan 16, 2015
Andrzej Hołowko
rated it really liked it
Dec 05, 2017
Bartek Piech
rated it liked it
Nov 23, 2014
Martin Cortez
rated it really liked it
Jan 06, 2014
Krzysiek
rated it liked it
Apr 11, 2013
Will Mcqueen
rated it it was amazing
Jun 08, 2014
Dariusz Nowak
rated it really liked it
Dec 30, 2013
Andrzej
rated it really liked it
Feb 02, 2016
Dave Kindig
rated it liked it
Apr 08, 2018
Ebrahimiar
rated it it was amazing
Sep 21, 2016
Joey
rated it liked it
Jan 03, 2015
Hadi
rated it it was amazing
Aug 21, 2017
Maxim Kolesnikov
rated it it was amazing
Feb 11, 2017
Philip Scuderi
rated it liked it
Jan 02, 2015
Mikael Couzic
rated it it was amazing
Mar 09, 2013
Sylvain
rated it really liked it
Jan 01, 2017
Joe Kueser
rated it it was amazing
Oct 19, 2014
« previous 1 next »
There are no discussion topics on this book yet. Be the first to start one »