Practical Unit Testing with TestNG and Mockito has 36 ratings and 5 reviews. Adrienbe said: Without a doubt a great book for beginners in 27 Mar Short information about my book: “Practical Unit Testing with TestNG and Mockito “. Write great unit tests using the most popular technologies of the Java world! Learn how to use JUnit, TestNG, Mockito and many other tools to unit test your code.

Author: Tagami JoJonris
Country: Burma
Language: English (Spanish)
Genre: Marketing
Published (Last): 16 December 2017
Pages: 240
PDF File Size: 1.79 Mb
ePub File Size: 10.8 Mb
ISBN: 275-5-32198-967-3
Downloads: 16827
Price: Free* [*Free Regsitration Required]
Uploader: Dagore

The New Must Have. Get more details on this book or buy it on amazon. Both books are very similar so I do not think that you need both.

Practical Unit Testing with TestNG and Mockito – Review

Without a doubt a great book for beginners in Testing. TestNG has a nice class org.

Despite the book is about Java and Java related libraries, it also covers common concepts, so it can be helpful for those who use some other programming language. While simple in theory, in practice practical unit testing with testng and mockito high-quality unit tests can turn out to be a real challenge. Prachical lot has been written already about code reviews, and it is not my goal to discuss their place and role in the software development process.

Practical Unit Testing with TestNG and Mockito – review – Tomasz Dziurko

Reading books java kaczanowski learning mockito reviews testing testng. Sep 21, Adrienbe rated it it was amazing. But Without a doubt a great book witth beginners in Testing. Write great unit tests using the most popular technologies of the Java world!

Let me conclude with a short statement to the effect that code reviews are a must, because practical unit testing with testng and mockito help discover bugs, thus improving internal and external code quality, and because ujit spread knowledge of the code among different team members and help unlt improve by learning from each other.

If you ever read this Thomasz: Krzysiek rated it liked it Apr 11, The boo This book explains modkito detail how to implement unit tests using two very popular open source Java technologies: Tomek Kaczanowskiauthor of this book, starts with describing some basic concepts needed to understand testing and classification of tests.

If you plan to buy it for your companyplease read about volume discounts below. The less experienced in testing you are, the more you will get from this book. Tomek Kaczanowski says that his book is aimed at developers who want to produce high-quality, maintainable unit tests. Practical unit testing with testng and mockito to read and, like the name says, very practical.

Martin rated it really liked it Jan 16, Each section has its own exercises. Mockito gives us another very useful feature, ability to check what arguments were passed to methods using ArgumentCaptor:.

Joe Kueser rated it it was amazing Oct 19, You can buy all electronic versions directly here, or via LeanPub. Simple but effective examples are used. You should never believe what the marketing says! Goodreads helps you keep track of books you want to read. And after running such tests in html report we will see something practical unit testing with testng and mockito presenten on the screenshot below:. This will or, at least in my opinion, will happen for those less familiar with testing and using TestNG and Mockito.

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. There are no discussion topics on this book yet. It has some high level concept but goes into coding too. And after running such tests in html report we will see something like presenten on the screenshot below:.

The difference is, that each of them uses different testing framework for all code examples. Feel free to e-mail me at kaczanowski.

Bought only a few months after its publication I was delighted to find some very up-to-date content. And for people with similar or greater experience this book will not surprise on each single page. Uh-oh, bugs happen, both in code and in books.

Want to Read saving…. This book will help. Want to Read Currently Reading Read. It presents a range of techniques necessary to write high quality unit tests – e. An author of the book is Tomek Kaczanowski. Already have one of “Practical Unit Testing” e-books and now you want to buy the other one? We start with simple class without any dependencies, easy to understand and easy to test.

If you place yourself in the middle, Practical Unit Testing with TestNG and Practical unit testing with testng and mockito is still a very practical unit testing with testng and mockito 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 painless approach to testing your code.

Learn to write high-quality unit tests with the finest technologies of the Java world! But of course, TestNG and Mockito users will be able to get most of this title. We replace dummy data with constants indicating which part is important and what parameters are not critical in this method.