Practical Unit Testing with TestNG and Mockito has 36 ratings and 5 reviews. Adrienbe said: Without a doubt a great book for beginners in 23 Feb A new book which I have already read is about testing. About white box testing in java. A new of the book is “Practical Unit Testing with TestNG. Contribute to Eugen/Books development by creating an account on GitHub.

Author: Maushura Daim
Country: Gambia
Language: English (Spanish)
Genre: Technology
Published (Last): 13 July 2008
Pages: 101
PDF File Size: 6.8 Mb
ePub File Size: 16.80 Mb
ISBN: 592-3-41955-224-1
Downloads: 7515
Price: Free* [*Free Regsitration Required]
Uploader: Vudole

Practical Unit Testing with TestNG and Mockito – Review

Explore the Home Gift Guide. My full review can be found at http: Martin rated it really liked it Jan 16, Alex Fruzenshtein Mathematician, programmer, wrestler, last action hero Amazon Rapids Fun stories for kids on the go.

More can be found on its wikibut below simple use case showing how it looks: I could say much more. Bought only a few months after its publication I was delighted to find some very up-to-date content.

Nowadays every developer is expected to write unit tests.

Sep 21, Adrienbe rated it it was amazing. Half of the book is dedicated to get the base and advanced knowledge for using testNG and Mockito, while the other half is dedicated for consideration of best practices, typical gotchas. It presents a range of techniques necessary to write high quality unit tests – e.

Benoit rated it it was amazing Feb 22, 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. Bartek rated it it was amazing Oct 11, Learn more about Amazon Prime.


The book prepares you well to use these test libraries in development process and enable reader to learn further from articles on the Internet mockitp confidence because of solid understanding got from learning from the book. Agile Product Development from Gang. Make-it-easy – A tiny framework that makes it easy to write Test Data Builders in Java This small project wkth help you to create builders for your test cases easily.

Enriching html test reports TestNG has a nice class org. Related Video Shorts 0 Upload your video.

If there is a method we want to test but at the same time there is another method in tested object that want to mock, it is possible to do that by usinf Mockito spy:. Easy to read and, like pracfical name says, very practical.

More can be found on its wikibut below simple use case showing how it looks:. But of course, TestNG and Mockito users will be able to get most of this title. Grasp the role and purpose of unit tests Write high-quality, readable and maintainable unit tests Learn how to use TestNG and Mockito but also other useful tools Avoid common pitfalls when writing unit tests Recognize bad unit tests, and fix them in no time Develop code following the Test Driven Development TDD approach Use mocks, stubs and test-spies intelligently Measure the quality of your tests using code coverage and mutation testing Learn how to improve your tests’ code so it is an asset and not a burden Test collections, expected exceptions, time-dependent methods and much more Customize test reports so that they show you what you really need to know Tetsing tools and techniques your team members have never even heard of priceless!


Book review: Practical Unit Testing with TestNG and Mockito

Return to Book Page. Every topic discussed in the book is illustrated with code examples, and each chapter is accompanied by some exercises. Download the free agile tools checklist from Gang. Sep 05, Geraldo Massahud rated it it was amazing Shelves: Bartek Piech rated it liked it Nov 23, This book will help. Opinions expressed by DZone contributors are their own. Goodreads helps you keep track of books you want to read.

I have a pet Java project which is now a year old, and already decided on using TestNG instead of JUnit for testing purposes. Last chapters are devoted completely to most general things: We start with simple class without any dependencies, easy to understand and easy to test.

Practical Unit Testing with TestNG and Mockito

While simple in theory, in practice writing high-quality unit tests gestng turn out to be a real challenge. Read more Read less. Ioana Goga rated it really liked it Oct 22,