{"product_id":"build-your-own-test-framework-a-practical-guide-to-writing-better-automated-tests","title":"Build Your Own Test Framework: A Practical Guide to Writing Better Automated Tests","description":"Learn to write better automated tests that will dramatically increase your productivity and have fun while doing so. This book is a build-your-own adventure designed for individual reading and for collaborative workshops.\nYou will build an xUnit automated test framework using JavaScript: initially a clone of Jest, but adding a couple of neat features borrowed from RSpec, the genre-defining tool for behavior-driven development (BDD). Along the way, you will explore the philosophy behind automated testing best practices. The automated test runner is one of the most important innovations within software engineering. But for many programmers, automated testing remains a mystery, and knowing how to write good tests is akin to sorcery.\nAs the chapters of this book unfold, you will see how the humble test runner is an elegant and simple piece of software. Each chapter picks a single feature to build, like the \"it\" function or the \"beforeEach\" block. It picks apart the theory of why the feature needs to exist, and how to use it effectively in your own test suites. Every chapter ends with a set of ideas for extension points should you wish to explore further, alone or in groups. The book culminates in an implementation of test doubles and mocks―one of the most difficult and misunderstood concepts within automated testing.\nBy the end of the book, you will have gained a solid understanding of automated testing principles that you can immediately apply to your work projects.\nWhat You'll Learn Build an xUnit automated test framework See how an automated test runner works Understand the best practices for automated unit testing Effectively use test doubles and mocks Who This Book Is For\n\nSoftware developers with JavaScript experience who are seeking to master the art of automated testing.\u003cbr\u003eASIN: 1484292464\u003cbr\u003eVSKU: BVV.1484292464.G\u003cbr\u003eCondition: Good\u003cbr\u003eAuthor\/Artist:Irvine, Daniel\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":44492418023485,"sku":"BVV.1484292464.G","price":34.67,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0589\/4225\/9261\/files\/1484292464-0.jpg?v=1794085699","url":"https:\/\/www.bluevasebooks.com\/products\/build-your-own-test-framework-a-practical-guide-to-writing-better-automated-tests","provider":"Blue Vase Books","version":"1.0","type":"link"}