Skip to content

Interface: Inventory ​

The output of one scan.

Properties ​

schemaVersion ​

schemaVersion: 1

Version of this format. It changes only when a key is removed, renamed or changes meaning.


tool ​

tool: object

name ​

name: "test-inventory"

version ​

version: string

Version of test-inventory that produced the output.


framework ​

framework: "playwright" | "vitest" | "jest" | "mocha" | "jasmine" | "cypress" | "webdriverio" | "node" | "bun"

The framework the scan was run for.


frameworkVersion ​

frameworkVersion: string | null

Read from the project, or given with --framework-version; null when unknown.


summary ​

summary: Summary


configs ​

configs: ConfigRecord[]

The configs the scanned files use, sorted by path.


files ​

files: FileRecord[]

One per scanned file, in the order the files were scanned.


suites ​

suites: SuiteRecord[]


tests ​

tests: TestRecord[]


diagnostics ​

diagnostics: Diagnostic[]

Documentation for test-inventory 0.12.2. Released under the MIT License.