node --test --test-reporter=spec test/

Category: Node.js & npm/yarn

node --test --test-reporter=spec test/

Run tests with detailed reporting

Executes every test under the test/ directory and formats results with the spec reporter, which prints each test name and status. Node's built-in runner needs no framework install. Add --test-name-pattern to run a subset of tests.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.