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
- Mockito Cookbook : Over 65 Recipes to Get You Up and Running with Unit Testing Using Mockito — Marcin Grzejszczak (2014)
- Mockito Made Clear: Java Unit Testing with Mocks, Stubs, and Spies — Ken Kousen (2023)
- Java Unit Testing with JUnit & Mockito: Practical and Step-by-Step examples for effective Java testing and mocking — R. Parvin (2024)
- Mastering Unit Testing Using Mockito and JUnit — Sujoy Acharya (2014)
- Next Generation Java TM Testing : TestNG and Advanced Concepts — Beust, Cedric; Suleiman, Hani (2007)
- Testing Java Microservices: Using Arquillian, Hoverfly, AssertJ, JUnit, Selenium, and Mockito — Andy Gumbrecht Alex Soto Bueno & Jason Porter Andy Gumbrecht Alex Soto Bueno and Jason Porter (2018)