Get Free Shipping on orders over $89
Build Your Own Test Framework : A Practical Guide to Writing Better Automated Tests - Daniel Irvine
eTextbook alternate format product

Instant online reading.
Don't wait for delivery!

Build Your Own Test Framework

A Practical Guide to Writing Better Automated Tests

By: Daniel Irvine

Paperback | 10 March 2023

At a Glance

Paperback


RRP $74.99

$74.75

or 4 interest-free payments of $18.69 with

 or 

Ships in 5 to 7 business days

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. 
You 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.
As 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.
By 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. 
What 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

Software developers with JavaScript experience who are seeking to master the art of automated testing. 

More in Programming & Scripting Languages

Learning Go : An Idiomatic Approach to Real-World Go Programming - Jon Bodner
Python All-in-One For Dummies : 3rd Edition - Alan Simpson

RRP $74.95

$49.99

33%
OFF
Swift : The Practical Guide - Kerem Koseoglu
Introduction to Programming Languages - Gordon Hurley
Fundamentals of Python : 3rd Edition - First Programs - Kenneth Lambert
C# 10.0 All-in-One For Dummies : For Dummies (Computer/Tech) - John Paul Mueller
PHP, MySQL, & JavaScript All-In-One For Dummies : For Dummies - Richard Blum
Coding All-in-One For Dummies : 2nd Edition - Chris Minnick

RRP $69.95

$46.99

33%
OFF
Effective Typescript : 83 Specific Ways to Improve Your Typescript - Dan VanderKam
Introducing Python : Modern Computing in Simple Packages - Bill Lubanovic
C++ Programming Language, The - Bjarne Stroustrup

RRP $117.91

$89.99

24%
OFF
SQL Essentials For Dummies : For Dummies (Computer/Tech) - Richard Blum