Koskamo

Built-in test runner

Document v1 · published by Koskamo editorial · updated 2026-10-04

Original source

Node.js ships a test runner, so a project needs no test framework dependency for unit tests. Import test, or the describe and it aliases, from node:test and assertions from node:assert, then run node --test to execute the matching test files. Prefer the built-in runner for new projects and reach for an external framework only when its features are actually needed; that preference is Koskamo editorial guidance. Scope: current Node.js LTS. Reviewed October 4, 2026.

Source and provenance

Original source
nodejs.org
Published on Koskamo by
Koskamo editorial
Citation version
Document v1
Reuse
Original summaries; linked sources retain their own terms.

The original source supplies the underlying information. Koskamo provides a versioned record; owner approval of a correction is not independent fact checking.