{"product_id":"the-art-of-unit-testing-third-edition-with-examples-in-javascript","title":"The Art of Unit Testing, Third Edition: with examples in JavaScript","description":"Unit 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.\n\nThousands of developers have learned to hone their code quality under the tutelage of The Art of Unit Testing. This revised third edition updates an international bestseller to reflect modern development tools and practices, as well as to cover JavaScript.\n\nInside The Art of Unit Testing, Third Edition you will learn how to:\n\nCreate readable, maintainable, and trustworthy tests Work with fakes, stubs, mock objects, and isolation frameworks Apply simple dependency injection techniques Refactor legacy code with confidence Test both frontend and backend code\nEffective 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.\n\nPurchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.\n\nAbout the technology\n\nThe 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.\n\nAbout the book\n\nThe Art of Unit Testing, Third Edition 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.\n\nWhat's inside\n\nDeciding on test types and strategies Test Entry \u0026amp; Exit Points Refactoring legacy code Fakes, stubs, mock objects, and isolation frameworks Object-Oriented, Functional, and Modular testing styles\nAbout the reader\n\nExamples use JavaScript, TypeScript, and Node.js.\n\nAbout the author\n\nRoy Osherove is an internationally-recognized expert in unit testing and agile software methodology. Vladimir Khorikov is the author of Manning’s Unit Testing Principles, Practices, and Patterns, a Pluralsight author, and a Microsoft MVP.\n\nTable of Contents\n\nPART 1\n1 The basics of unit testing\n2 A first unit test\nPART 2\n3 Breaking dependencies with stubs\n4 Interaction testing using mock objects\n5 Isolation frameworks\n6 Unit testing asynchronous code\nPART 3\n7 Trustworthy tests\n8 Maintainability\nPART 4\n9 Readability\n10 Developing a testing strategy\n11 Integrating unit testing into the organization\n12 Working with legacy code\nAppendix Monkey-patching functions and modules\u003cbr\u003eASIN: 1617297488\u003cbr\u003eVSKU: BVV.1617297488.G\u003cbr\u003eCondition: Good\u003cbr\u003eAuthor\/Artist:Osherove, Roy|Khorikov, Vladimir\u003cbr\u003eBinding: Paperback\u003cbr\u003e\u003cb\u003eNote:\u003c\/b\u003e Any images shown are stock photographs and product may differ from what is shown.  \u003cbr\u003e\u003cb\u003eCondition Notes\u003c\/b\u003e: The item shows wear from consistent use, but it remains in good condition and works perfectly. All pages and cover are intact  including the dust cover, if applicable . Spine may show signs of wear. Pages may include limited notes and highlighting. May NOT include discs, access code or other supplemental materials.  \u003cbr\u003e","brand":"Blue Vase Books","offers":[{"title":"Default Title","offer_id":43305652486205,"sku":"BVV.1617297488.G","price":36.36,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0589\/4225\/9261\/files\/1617297488-0.jpg?v=1782767225","url":"https:\/\/www.bluevasebooks.com\/products\/the-art-of-unit-testing-third-edition-with-examples-in-javascript","provider":"Blue Vase Books","version":"1.0","type":"link"}