Skip to content

Opening book details…

Can I read Practical Unit Testing with Testng and Mockito on EtoBox?

Practical Unit Testing with Testng and Mockito by Tomasz Kaczanowski; Tomek Kaczanowski is a nonfiction available to read on EtoBox.

What is Practical Unit Testing with Testng and Mockito about?

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 book stresses the importance of writing readable and maintainable unit tests, and puts a lot of stress on code quality. It shows how to achieve testable code and to eliminate common mistakes by following the Test Driven Development approach. Every topic discussed in the book is illustrated with code examples, and each chapter is accompanied by some exercises. By reading this book you will: 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 muta

Who reads Practical Unit Testing with Testng and Mockito?

It is typically read by self-directed learners exploring a subject in depth.

Common subject areas: history, science, philosophy, social sciences.

Author
Tomasz Kaczanowski; Tomek Kaczanowski
Publisher
kaczanowscy.pl Tomasz Kaczanowski
Published
2012
Language
EN
ISBN
9788393489305
Category
nonfiction
Subjects
Computer Science, Programming, Stem

More by Tomasz Kaczanowski; Tomek Kaczanowski

Browse all works by Tomasz Kaczanowski; Tomek Kaczanowski

Similar books