{"product_id":"practical-unit-testing-with-junit-and-mockito-paperback","title":"Practical Unit Testing with JUnit and Mockito - Paperback","description":"\u003cp\u003eby \u003cb\u003eTomek Kaczanowski\u003c\/b\u003e (Author)\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eThis book explains in detail how to implement unit tests using two very popular open source Java technologies: JUnit and Mockito. It presents a range of techniques necessary to \u003cb\u003ewrite high quality unit tests\u003c\/b\u003e - 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.\u003c\/p\u003e\u003cp\u003eThe book stresses the importance of \u003cb\u003ewriting readable and maintainable unit tests\u003c\/b\u003e, and puts a lot of stress on code quality. It shows how to achieve testable code and to eliminate common mistakes by following the \u003cb\u003eTest Driven Development\u003c\/b\u003e approach. Every topic discussed in the book is illustrated with code examples, and each chapter is accompanied by some exercises.\u003c\/p\u003e\u003cp\u003eBy reading this book you will: \u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eGrasp the role and purpose of unit tests\u003c\/li\u003e\n\u003cli\u003eWrite high-quality, readable and maintainable unit tests\u003c\/li\u003e\n\u003cli\u003eLearn how to use JUnit and Mockito (but also other useful tools)\u003c\/li\u003e\n\u003cli\u003eAvoid common pitfalls when writing unit tests\u003c\/li\u003e\n\u003cli\u003eRecognize bad unit tests, and fix them in no time\u003c\/li\u003e\n\u003cli\u003eDevelop code following the Test Driven Development (TDD) approach\u003c\/li\u003e\n\u003cli\u003eUse mocks, stubs and test-spies intelligently\u003c\/li\u003e\n\u003cli\u003eMeasure the quality of your tests using code coverage and mutation testing\u003c\/li\u003e\n\u003cli\u003eLearn how to improve your tests' code so it is an asset and not a burden\u003c\/li\u003e\n\u003cli\u003eTest collections, expected exceptions, time-dependent methods and much more\u003c\/li\u003e\n\u003cli\u003eCustomize test reports so that they show you what you really need to know\u003c\/li\u003e\n\u003cli\u003eMaster tools and techniques your team members have never even heard of (priceless ): )\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003eNowadays 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.\u003c\/p\u003e\u003cdiv\u003e\n\u003cstrong\u003eNumber of Pages:\u003c\/strong\u003e 386\u003c\/div\u003e\u003cdiv\u003e\n\u003cstrong\u003eDimensions:\u003c\/strong\u003e 0.8 x 9.25 x 7.52 IN\u003c\/div\u003e\u003cdiv\u003e\n\u003cstrong\u003ePublication Date:\u003c\/strong\u003e November 25, 2019\u003c\/div\u003e","brand":"Books by splitShops","offers":[{"title":"Default Title","offer_id":42729530458175,"sku":"9788395185144","price":56.68,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0105\/8226\/1823\/files\/1015da64d5628259d998d451065767ac.webp?v=1765122535","url":"https:\/\/dhlswag.com\/products\/practical-unit-testing-with-junit-and-mockito-paperback","provider":"BBB","version":"1.0","type":"link"}