mawrkus/js-unit-testing-guide resource
📙 A guide to unit testing in Javascript observed · 2026-08-28
Health v2 · maintenance only
52/100
- Activity 43
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4192
- days_rel: n/a
- days_push: 347
- n_releases_24m: 0
Adoption not part of the score
1963 stars · 174 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A living-document guide to unit testing in JavaScript, covering general principles, TDD, test structure, naming, mocking, and best practices with illustrative examples. It is maintained as a markdown document with community contributions and translations.
Use cases
- learn how to write unit tests in javascript
- best practices for structuring javascript unit tests
- how to apply TDD in javascript projects
- when to mock dependencies in unit tests
- how to name and organize test cases
- improve test code quality before code review
- practice testing with code katas
When to choose
- you want a concise, opinionated reference on JavaScript unit testing principles
- you are onboarding developers to TDD and unit testing practices
- you need guidelines for reviewing test code
When to avoid
- you need a runnable testing framework or tool rather than documentation
- you need end-to-end or integration testing guidance specifically
- you need framework-specific documentation like Jest or Vitest APIs
Facets
learning-resource · maturity active
testing documentation testing developer-tools tutorials cross-platform unit-testing tdd best-practices javascript guide katas nodejs
1 source
- readme: https://github.com/mawrkus/js-unit-testing-guide · fetched 2026-08-28 · 4ec3ff0055ee
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mawrkus/js-unit-testing-guide | main | 52 |
For agents
markdown · JSON · MCP: product_card(name="mawrkus/js-unit-testing-guide")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem