Email the Author
You can use this page to email Daniel Irvine about Build your own test framework.
About the Book
A build-your-own test framework adventure. Learn how a JavaScript test framework is put together, by making use of the Node API including ES6 modules, NPM packaging, ES6 proxy objects, and more.
Test frameworks like Jest, Mocha and Jasmine are well-understood by the JavaScript community. Other languages, like Ruby, have even more advanced techniques--such as shared examples and tagged tests--that aren't yet commonly available in JavaScript test runners.
This book walks you through the development of the concise-test NPM package, a fully-featured test framework written with conciseness in mind.
By following the walkthrough you'll discover a number of different design techniques and programming devices, and learn about the Node API and broaden your testing knowledge.
This book isn't for beginner programmers, but will be useful read to anyone looking to deepen their understanding of the JavaScript language and automated testing.
About the Author
Daniel Irvine is a freelance developer who is slightly obsessed with testing. He's an experienced mentor and coach, and believes coding should be a fun and personally rewarding experience. His programming style focuses on finding clear, concise and elegant solutions that are well-tested and built for maintainability.