{"product_id":"practical-unit-testing-with-junit-tomek-kaczanowski-9788395185144","title":"Practical Unit Testing with JUnit and Mockito","description":"\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\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e Tomek Kaczanowski\u003cbr\u003e\u003cb\u003eISBN-10:\u003c\/b\u003e 8395185146\u003cbr\u003e\u003cb\u003eISBN-13:\u003c\/b\u003e 9788395185144\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Tomasz Kaczanowski\u003cbr\u003e\u003cb\u003eLanguage:\u003c\/b\u003e English\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 11\/25\/2019\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 386\u003cbr\u003e\u003cb\u003eFormat:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003eWeight:\u003c\/b\u003e 1.46lbs\u003cbr\u003e\u003cb\u003eSize:\u003c\/b\u003e 9.25h x 7.52w x 0.80d","brand":"Tomek Kaczanowski","offers":[{"title":"Paperback","offer_id":43995240104191,"sku":"9788395185144","price":34.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0662\/2982\/9887\/files\/img_5eb0c24c-49bc-4f10-a1d2-d8d6fb87ea3a.jpg?v=1683334666","url":"https:\/\/www.whiterainbookhouse.com\/products\/practical-unit-testing-with-junit-tomek-kaczanowski-9788395185144","provider":"WR Book House","version":"1.0","type":"link"}