IF Commons GitHub

System

1 specification, 20 requirements. All libraries

0001 System

RequirementMechanismWhoNote
FR-001checkbun test suite/fs.test.ts: each Node error code becomes its class with code, path and cause
FR-002checkbun test suite/fs.test.ts: every call on a real temporary folder, the refusals
FR-003checkbun test suite/proc.test.ts: both platforms' rules and file URLs
FR-004checkbun test suite/fs-more.test.ts: readDir async, chown, symlinkSync
FR-005checkbun test suite/fs-more.test.ts: file handles, seek, streams, using
FR-006checkbun test suite/fs-more.test.ts: copy and walk
FR-007checkbun test suite/fs.test.ts: a folder linked as a junction is read through it
FR-008checkbun 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-009checkbun test suite/proc.test.ts: the environment, the platform's names, which, a program with its input and output
FR-010checkbun test suite/the library's tests of spawn: streams in and out, kill, status, NotFound
FR-011checkbun test suite/the library's tests of spawn: ppid, build.target, unrefTimer, selfCommand
FR-012checkbun test suite/discover.test.ts: programs found by prefix, first wins, shadowed ones kept with why
FR-013checkbun test suite/compile.test.ts: the arguments and a small program built and run
FR-014checkbun test suite/git.test.ts: HEAD, cleanliness, changed paths and files at a revision in a temporary repository
FR-015checkbun test tests/the lock's tests in commons' suite: one run at a time, the holder named, a stale lock
FR-016checkbun test suite/watch.test.ts: events joined, recursive, stopped by abort
FR-017checkbun test suite/job-plan.test.ts and schedule.test.ts: exact units, plist and .cmd per OS, quoting round trips
FR-018checkbun test tests/the console's tests of commons' suite: whether a stream is a terminal, raw mode, colour, emoji and width
FR-019checkbun test tests/the standard streams' tests of commons' suite: stdin, stdout and stderr as streams, bytes or text
FR-020checkbun run verifythe 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

Titles, headings, exports, tables, columns and requirements. Esc closes.