IF Commons GitHub

Test

Tests that run unchanged under bun test and node --test: registration on node:test, the assertions under short plain names, proves, which names the requirements a test proves and keeps them for a report, only and steps. Every test is recorded by this library's own code, not by a runner's reporter: its id, file, requirements, risk, times, outcome and reason, as an OpenTelemetry span and log record on the installation record, appended to IFC_TEST_RECORD as OTLP JSON lines (record). It depends on core, crypto, system and telemetry. Published to npm as compiled modules with their declarations.

FactValue
Version0.2.7
Conformance levelL1
Distributedgithub, npm
LicensePolyForm-Noncommercial-1.0.0, source-available: free for noncommercial use, commercial use needs a license from the owner (see Licensing in Start here)
Import it as@intellectual-frontiers/test

Areas

Imports

Core, Crypto, System, Telemetry

Imported by

Ergonex, Quality

Specifications

NumberSpecificationRequirements
0001Test7

Folders

FolderWhat it isMay import
spec-kit/The library's own specifications, numbered from 0001.nothing: Markdown and TSV
src/test.ts, the registration and the assertions, and record.ts, the pure model of a test's record and its OpenTelemetry form.node: builtins; src/; core, crypto, system and telemetry, by package name
suite/The tests of the library, run on its own runner and in child processes where only and steps must fail.src/; the kernel of commons for the reports of a record, by package name
tools/The trace check and the packer bun run verify runs.the kernel, the runtime and the packer of commons, by package name

Quality

Quality: 16 tests: 13 passed, 0 failed, 3 skipped, 4 of 7 requirements proved, 0 open issues, 0 open tickets. The tests and issues of the library

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