{"product_id":"build-your-own-test-framework-a-practical-guide-to-writing-better-automated-tests-paperback","title":"Build Your Own Test Framework: A Practical Guide to Writing Better Automated Tests - Paperback","description":"\u003cp\u003eby \u003cb\u003eDaniel Irvine\u003c\/b\u003e (Author)\u003c\/p\u003e\u003cp\u003eLearn 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. \u003cbr\u003eYou 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.\u003cbr\u003eAs 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.\u003cbr\u003eBy 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. \u003cbr\u003e\u003cb\u003eWhat You'll Learn\u003c\/b\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eBuild an xUnit automated test framework\u003c\/li\u003e\n\u003cli\u003eSee how an automated test runner works\u003c\/li\u003e\n\u003cli\u003eUnderstand the best practices for automated unit testing\u003c\/li\u003e\n\u003cli\u003eEffectively use test doubles and mocks\u003c\/li\u003e\n\u003c\/ul\u003e\u003cb\u003eWho This Book Is For\u003c\/b\u003e\u003cbr\u003e\u003cb\u003e\u003cbr\u003e\u003c\/b\u003eSoftware developers with JavaScript experience who are seeking to master the art of automated testing. \u003cp\u003e\u003c\/p\u003e\u003ch3\u003eBack Jacket\u003c\/h3\u003e\u003cp\u003eLearn 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. \u003cbr\u003eYou 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.\u003cbr\u003eAs 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.\u003cbr\u003eBy 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. \u003cbr\u003eYou will: \u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eBuild an xUnit automated test framework\u003c\/li\u003e\n\u003cli\u003eSee how an automated test runner works\u003c\/li\u003e\n\u003cli\u003eUnderstand the best practices for automated unit testing\u003c\/li\u003e\n\u003cli\u003eEffectively use test doubles and mocks\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch3\u003eAuthor Biography\u003c\/h3\u003e\u003cp\u003eDaniel Irvine is a freelance software developer based in London. He works with a variety of languages including C#, Clojure, JavaScript, and Ruby. When he's not working, he spends time cooking, gardening and practicing yoga. He co-founded the Queer Code London meetup and is an active member of the European software craft community.\u003c\/p\u003e\u003cdiv\u003e\n\u003cstrong\u003eNumber of Pages:\u003c\/strong\u003e 269\u003c\/div\u003e\u003cdiv\u003e\n\u003cstrong\u003eDimensions:\u003c\/strong\u003e 0.62 x 9.21 x 6.14 IN\u003c\/div\u003e\u003cdiv\u003e\n\u003cstrong\u003eIllustrated:\u003c\/strong\u003e Yes\u003c\/div\u003e\u003cdiv\u003e\n\u003cstrong\u003ePublication Date:\u003c\/strong\u003e March 10, 2023\u003c\/div\u003e","brand":"Books by splitShops","offers":[{"title":"Default Title","offer_id":42720356958271,"sku":"9781484292464","price":71.26,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0105\/8226\/1823\/files\/10659b4dba63da2f8a3f15cc53bd8327.webp?v=1765088866","url":"https:\/\/dhlswag.com\/products\/build-your-own-test-framework-a-practical-guide-to-writing-better-automated-tests-paperback","provider":"BBB","version":"1.0","type":"link"}