IF Commons GitHub

Terminal: quality

passing

Results of the run of the commit 8df3cc3b89 at 2026-11-22 16:24 UTC (the run) that made this site; a library whose suite was not run in it has none.

The library: Terminal.

Quality gate

The library holds every condition of the gate.

ConditionHoldsWhy not
its tests were in the runyes
no test failedyes
no open issue of severity high or criticalyes

Line coverage

92.8% of 776 lines of 5 source files are reached by the library's tests. The least covered files:

FileLinesHitCovered
commons/terminal/src/vt.ts33529588.1%
commons/terminal/src/commands.ts747094.6%
commons/terminal/src/palette.ts444295.5%
commons/terminal/src/args.ts23122195.7%
commons/terminal/src/width.ts9292100%

Tests

42 tests: 42 passed, 0 failed, 0 skipped, 0 planned or other.

Slowest

TestFileResultTime
declared options written into a command line in any valid form parse back to the same values (round trip)suite/args.test.tspassed36 ms
a text cut fits its width, and its head and tail make the text and its width again (property)suite/width.test.tspassed17 ms
a line cut to the width never wraps, and leaves no style on (property)suite/vt.test.tspassed11 ms
plain text written to a screen reads back wrapped at its width (property)suite/vt.test.tspassed11 ms
a painted text without colour is the text, and with colour reads back as the text (property)suite/palette.test.tspassed2 ms
colour only where it is allowed, always reset after, never for plain or an empty textsuite/palette.test.tspassed2 ms
a negatable flag: --name gives true, --no-name false, absent its default or undefinedsuite/args.test.tspassed1 ms
an undeclared option is refused, with the nearest declared namesuite/args.test.tspassed1 ms
errors are values: a usage error is returned, never thrownsuite/args.test.tspassed1 ms
long options: --name VALUE, --name=VALUE, an empty value, a value that starts with a dashsuite/args.test.tspassed1 ms

History

The last 6 runs in which the library's tests ran, oldest first.

Tests: 42, latest 42
Pass rate: 100 %, latest 100
Time: 0 s, latest 0

Requirements

6 requirements: 5 proved, 0 partly (a test skipped or planned), 0 failing, 1 with no test recorded.

Not proved by a passing test: 0001-terminal FR-006

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