Build Your Own Test Framework

A Practical Guide to Writing Better Automated Tests



Bookstore > Books > Build Your Own Test Framework

Price$26.87 - $34.79
Rating
AuthorDaniel Irvine
PublisherApress
Published2023
Pages269
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101484292464
ISBN-139781484292464
EBook Hardcover Paperback

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.




Similar Books


Build your own 2D Game Engine and Create Great Web Games

Build your own 2D Game Engine and Create Great Web Games

by Kelvin Sung, Jebediah Pavleas, Fernando Arnez, Jason Pace

Build Your Own 2D Game Engine and Create Great Web Games teaches you how to develop your own web-based game engine step-by-step, allowing you to create a wide variety of online videogames that can be played in common web browsers. Chapters include examples and projects that gradually increase in complexity while introducing a ground-up de...

Price:  $42.39  |  Publisher:  Apress  |  Release:  2015

Build Your Own PaaS with Docker

Build Your Own PaaS with Docker

by Oskar Hane

Docker is a great tool in many ways for developers and people in DevOps.We begin by learning how easy it is to create and publish your own customized Docker images and making them available to everyone. We also see how practical it is to separate every service to its own container. When you have published separated service containers, the...

Price:  $18.71  |  Publisher:  Packt Publishing  |  Release:  2015

Build Your Own First-Person Shooter in Unity

Build Your Own First-Person Shooter in Unity

by Stuart Fraser, Patrick Gordon, Steve Lee, Andrew Palmer, Ryan Shah, Mark Vanstone

Ever fancied creating your own first-person shooter game? Now you can with this 140-page bookazine, brought to you by the Wireframe magazine team with tips from expert video game developers!Making a fast-paced 3D action game needn't be as daunting as it sounds. Build Your Own First-Person Shooter in Unity will take you step-by- step ...

Free ebook  |  Publisher:  Raspberry Pi Press  |  Release:  2020

Build Your Own Ajax Web Applications

Build Your Own Ajax Web Applications

by Matthew Eernisse

AJAX (Asynchronous JavaScript and XML) is a new approach for developing web applications. It essentially permits users to interact with a Webpage without forcing a slow & tedious reload of the entire page after every action. This means web applications become more responsive, easier to use, and more intuitive. Build Your Own Ajax ...

Price:  $9.14  |  Publisher:  SitePoint  |  Release:  2006

Build Your Own Web Site, 2nd Edition

Build Your Own Web Site, 2nd Edition

by Ian Lloyd

Build Your Own Website The Right Way Using HTML & CSS, 2nd Edition teaches web development from scratch, without assuming any previous knowledge of HTML, CSS or web development techniques. This book introduces you to HTML and CSS as you follow along with the author, step-by-step, to build a fully functional web site from the groun...

Price:  $2.95  |  Publisher:  SitePoint  |  Release:  2008

Build Your Own Database Driven Web Site Using PHP & MySQL, 4th Edition

Build Your Own Database Driven Web Site Using PHP & MySQL, 4th Edition

by Kevin Yank

Build Your Own Database Driven Web Site Using PHP & MySQL, 4th Edition is a practical, hands-on guide to learning all the tools, principles, and techniques needed to build a fully functional database driven web site using PHP & MySQL. This book covers everything from installing PHP and MySQL on Windows, Linux, and Mac comp...

Price:  $10.95  |  Publisher:  SitePoint  |  Release:  2009

Build Your Own Website The Right Way Using HTML & CSS, 3rd Edition

Build Your Own Website The Right Way Using HTML & CSS, 3rd Edition

by Ian Lloyd

The 3rd edition of Build Your Own Website the Right Way Using HTML & CSS is the perfect companion to help you accomplish this goal.All you need is a computer with an internet connection and by the end of the book, you'll know how to build the site, obtain some hosting, promote the site, and keep it running once it's live...

Price:  $20.32  |  Publisher:  SitePoint  |  Release:  2011

Build Your Own ASP.NET 4 Web Site Using C# & VB, 4th Edition

Build Your Own ASP.NET 4 Web Site Using C# & VB, 4th Edition

by Timmothy Posey, Wyatt Barnett, Cristian Darie

Build Your Own ASP.NET 4 Web Site Using C# & VB is aimed at beginner ASP.NET developers wanting to develop their skills, web designers wanting to move into server-side programming, and experienced developers making the leap from ASP to .NET.... all in the process of successfully developing and deploying a working intranet site for...

Price:  $31.50  |  Publisher:  SitePoint  |  Release:  2011