flâneur

mawrkus/js-unit-testing-guide: 📙 A guide to unit testing in Javascrip

github.com · 3,794 words · saved by 1 readers

📙 A guide to unit testing in Javascript

This is a living document. New ideas are always welcome. Contribute: fork, clone, branch, commit, push, pull request. All the information provided has been compiled & adapted from many references, some of them cited at the end of the document. The guidelines are illustrated by my own examples, fruit of my personal experience writing and reviewing unit tests. Many thanks to all of the sources of information & contributors. 📅 Last edit: September 2025. 📖 Table of contents General principles Unit tests Design principles Guidelines Whenever possible, use TDD When applying TDD, always…

saved by

related reading