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:
Nowadays every developer is expected to write unit tests. While simple in theory, in practice writing high-quality unit tests can turn out to be a real challenge. This book will help.
"synopsis" may belong to another edition of this title.
"About this title" may belong to another edition of this title.
Shipping:
US$ 4.00
Within U.S.A.
Book Description Paperback. Condition: new. New. Fast Shipping and good customer service. Seller Inventory # Holz_New_839348930X
Book Description Paperback. Condition: new. New. Seller Inventory # Wizard839348930X
Book Description Condition: New. Buy with confidence! Book is in new, never-used condition. Seller Inventory # bk839348930Xxvz189zvxnew
Book Description Paperback. Condition: new. New Copy. Customer Service Guaranteed. Seller Inventory # think839348930X
Book Description Paperback. Condition: Brand New. 448 pages. 9.25x7.50x1.01 inches. This item is printed on demand. Seller Inventory # zk839348930X