Release 1.25.0
28 Sep 2026 · pinned package [email protected]
openvibe-shared/test-runner: no fake green in npm test (roadmap WS-Q task 7). Every service carried its own copy of test/run.js, and each counted a test file that exited 0 as passed, including one that printed …: skipped (no ffmpeg) and checked nothing. The runner is now one module: require('openvibe-shared/test-runner').main({ dir: __dirname, timeoutMs, pad, hide, env }) (run() returns the results for a caller that wants them).
- Same behaviour as the copies: every
*.test.jsindirin its own process, a few at a time,NODE_ENV=test, a timeout per file, name filters from the arguments, and the last 40 lines of a failed file (minushidelines). - Skips. A test prints
<label>: skipped (<why>)for each thing it could not run (the convention OpenVibe.Host's acceptance runner already reads). Such a file is listed with ○ and its reasons, and is not counted as passed: the summary reads148/150 test files passed, 2 skipped (…), and only a run with nothing skipped saysN/N test files passed. Skips alone exit 0;--strict(orOV_TEST_STRICT=1) makes them fail the run. - This package's
test/run.jsuses it;test/test-runner.test.jscovers pass, skip, partial skip, failure, hidden lines, filters and strict.