System
1 specification, 20 requirements. All libraries
0001 System
| Requirement | Mechanism | Who | Note |
|---|---|---|---|
FR-001 | check | bun test suite/ | fs.test.ts: each Node error code becomes its class with code, path and cause |
FR-002 | check | bun test suite/ | fs.test.ts: every call on a real temporary folder, the refusals |
FR-003 | check | bun test suite/ | proc.test.ts: both platforms' rules and file URLs |
FR-004 | check | bun test suite/ | fs-more.test.ts: readDir async, chown, symlinkSync |
FR-005 | check | bun test suite/ | fs-more.test.ts: file handles, seek, streams, using |
FR-006 | check | bun test suite/ | fs-more.test.ts: copy and walk |
FR-007 | check | bun test suite/ | fs.test.ts: a folder linked as a junction is read through it |
FR-008 | check | bun test suite/ | dirs.test.ts: the folders on Linux, macOS and Windows from the environment, the XDG variables honored, macOS as Linux, no home no folder |
FR-009 | check | bun test suite/ | proc.test.ts: the environment, the platform's names, which, a program with its input and output |
FR-010 | check | bun test suite/ | the library's tests of spawn: streams in and out, kill, status, NotFound |
FR-011 | check | bun test suite/ | the library's tests of spawn: ppid, build.target, unrefTimer, selfCommand |
FR-012 | check | bun test suite/ | discover.test.ts: programs found by prefix, first wins, shadowed ones kept with why |
FR-013 | check | bun test suite/ | compile.test.ts: the arguments and a small program built and run |
FR-014 | check | bun test suite/ | git.test.ts: HEAD, cleanliness, changed paths and files at a revision in a temporary repository |
FR-015 | check | bun test tests/ | the lock's tests in commons' suite: one run at a time, the holder named, a stale lock |
FR-016 | check | bun test suite/ | watch.test.ts: events joined, recursive, stopped by abort |
FR-017 | check | bun test suite/ | job-plan.test.ts and schedule.test.ts: exact units, plist and .cmd per OS, quoting round trips |
FR-018 | check | bun test tests/ | the console's tests of commons' suite: whether a stream is a terminal, raw mode, colour, emoji and width |
FR-019 | check | bun test tests/ | the standard streams' tests of commons' suite: stdin, stdout and stderr as streams, bytes or text |
FR-020 | check | bun run verify | the package is built, inspected and packed by tools/pack.ts; tests/commons-packages.test.ts installs the tarball and runs every entry on Node 26 and Bun and type-checks a consumer |