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
- Why Good Developers Write Bad Unit Tests · mtlynch.iomtlynch.io
- Bypassing module mocks · Jestjestjs.io
- Building a JavaScript Testing Framework | Christoph Nakazawacpojer.net
- GitHub - abhivaikar/howtheytest: A collection of public resources about how software companies test their softwaregithub.com
- Tao of React - Software Design, Architecture & Best Practices | Alex Kondovalexkondov.com
- Crafting High Quality Unit Tests: Tips and Best Practicesmarclittlemore.com
- Web Interface Guidelinesvercel.com
- What if writing tests was a joyful experience?blog.janestreet.com
- GitHub - bendc/frontend-guidelines: Some HTML, CSS and JS best practices.github.com
- Fighting Distraction With Unit Tests | Matthew C Devmatthewc.dev
- Software Engineering at Googleabseil.io
- GitHub - ByteByteGoHq/system-design-101: Explain complex systems using visuals and simple terms. Help you prepare for system design interviews.github.com