Testing
The Node test runner lives in src/tests/tests.js.
Run the full suite:
pnpm testRun one test by passing its exact registered test function name after --:
pnpm test -- test_primitiveCubeThe runner also accepts an explicit flag:
pnpm test -- --test test_primitiveCube
pnpm test -- -t test_primitiveCubeTest names are the exported test function names registered in testFunctions, plus generated names for dynamic part-file import tests such as import_part_fillet_test.
Each run clears tests/results/ first. A full run writes artifacts for every test that enables them; a single-test run writes only that test's artifacts.
Each Node test run also writes tests/test-run.log. This log is intentionally stored in the repository so Git history preserves the run summary. It includes the selected filter, total elapsed time, and one row per executed test with test runtime, artifact export runtime, total runtime, status, and any failure note.