{"product_id":"the-art-of-unit-testing-third-edition-with-examples-in-javascript-9781617297489","title":"The Art of Unit Testing, Third Edition: With Examples in JavaScript","description":"\u003cp\u003e • Author(s): Roy Osherove\u003cbr\u003e • Publisher: Manning Publications\u003cbr\u003e • Publisher Imprint: Manning Publications\u003cbr\u003e • BISAC: Software Development \u0026amp; Engineering - Quality Assurance \u0026amp; Tes\u003c\/p\u003e\u003cp\u003e\u003cb\u003eUnit testing is more than just a collection of tools and practices--it's a state of mind! This bestseller reveals the master's secrets for delivering robust, maintainable, and trustworthy code.\u003c\/b\u003e \u003c\/p\u003e\u003cp\u003e\u003c\/p\u003eThousands of developers have learned to hone their code quality under the tutelage of \u003ci\u003eThe Art of Unit Testing\u003c\/i\u003e. This revised third edition updates an international bestseller to reflect modern development tools and practices, as well as to cover JavaScript. \u003cp\u003e\u003c\/p\u003e Inside \u003ci\u003eThe Art of Unit Testing, Third Edition\u003c\/i\u003e you will learn how to: \u003cp\u003e\u003c\/p\u003e \u003cul\u003e \u003cli\u003eCreate readable, maintainable, and trustworthy tests\u003c\/li\u003e \u003cli\u003eWork with fakes, stubs, mock objects, and isolation frameworks\u003c\/li\u003e \u003cli\u003eApply simple dependency injection techniques\u003c\/li\u003e \u003cli\u003eRefactor legacy code with confidence\u003c\/li\u003e \u003cli\u003eTest both frontend and backend code\u003c\/li\u003e \u003c\/ul\u003e \u003cbr\u003eEffective unit tests streamline your software development process and ensure you deliver consistent high-quality code every time. With practical examples in JavaScript and Node, this hands-on guide takes you from your very first unit tests all the way to comprehensive test suites, naming standards, and refactoring techniques. You'll explore test patterns and organization, working with legacy code and even \"untestable\" code. The many tool-agnostic examples are presented in JavaScript and carefully designed so that they apply to code written in any language. \u003cp\u003e\u003c\/p\u003e Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the technology\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e The art of unit testing is more than just learning the right collection of tools and practices. It's about understanding what makes great tests tick, finding the right strategy for each unique situation, and knowing what to do when the testing process gets messy. This book delivers insights and advice that will transform the way you test your software. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the book\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e \u003ci\u003eThe Art of Unit Testing, Third Edition\u003c\/i\u003e shows you how to create readable and maintainable tests. It goes well beyond basic test creation into organization-wide test strategies, troubleshooting, working with legacy code, and \"merciless\" refactoring. You'll love the practical examples and familiar scenarios that make testing come alive as you read. This third edition has been updated with techniques specific to object-oriented, functional, and modular coding styles. The examples use JavaScript. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eWhat's inside\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e \u003cul\u003e \u003cli\u003eDeciding on test types and strategies\u003c\/li\u003e \u003cli\u003eTest Entry \u0026amp; Exit Points\u003c\/li\u003e \u003cli\u003eRefactoring legacy code\u003c\/li\u003e \u003cli\u003eFakes, stubs, mock objects, and isolation frameworks\u003c\/li\u003e \u003cli\u003eObject-Oriented, Functional, and Modular testing styles\u003c\/li\u003e \u003c\/ul\u003e \u003cbr\u003e\u003cb\u003eAbout the reader\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e Examples use JavaScript, TypeScript, and Node.js. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eAbout the author\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e \u003cb\u003eRoy Osherove\u003c\/b\u003e is an internationally-recognized expert in unit testing and agile software methodology. \u003cb\u003eVladimir Khorikov\u003c\/b\u003e is the author of Manning's \u003ci\u003eUnit Testing Principles, Practices, and Patterns\u003c\/i\u003e, a Pluralsight author, and a Microsoft MVP. \u003cp\u003e\u003c\/p\u003e \u003cb\u003eTable of Contents\u003c\/b\u003e \u003cp\u003e\u003c\/p\u003e PART 1\u003cbr\u003e 1 The basics of unit testing\u003cbr\u003e 2 A first unit test\u003cbr\u003e PART 2\u003cbr\u003e 3 Breaking dependencies with stubs\u003cbr\u003e 4 Interaction testing using mock objects\u003cbr\u003e 5 Isolation frameworks\u003cbr\u003e 6 Unit testing asynchronous code\u003cbr\u003e PART 3\u003cbr\u003e 7 Trustworthy tests\u003cbr\u003e 8 Maintainability\u003cbr\u003e PART 4\u003cbr\u003e 9 Readability\u003cbr\u003e 10 Developing a testing strategy\u003cbr\u003e 11 Integrating unit testing into the organization\u003cbr\u003e 12 Working with legacy code\u003cbr\u003e Appendix Monkey-patching functions and modules","brand":"Manning Publications","offers":[{"title":"Paperback","offer_id":45299312853143,"sku":"9781617297489","price":5166.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0666\/3471\/1191\/files\/9781617297489.webp?v=1769285427","url":"https:\/\/atlanticbooks.com\/products\/the-art-of-unit-testing-third-edition-with-examples-in-javascript-9781617297489","provider":"Atlantic Books","version":"1.0","type":"link"}