---
url: https://huldoser.github.io/test-inventory/api/interfaces/Inventory.md
---
# 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`](Summary.md)

***

### configs

> **configs**: [`ConfigRecord`](ConfigRecord.md)\[]

The configs the scanned files use, sorted by path.

***

### files

> **files**: [`FileRecord`](FileRecord.md)\[]

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

***

### suites

> **suites**: [`SuiteRecord`](SuiteRecord.md)\[]

***

### tests

> **tests**: [`TestRecord`](TestRecord.md)\[]

***

### diagnostics

> **diagnostics**: [`Diagnostic`](Diagnostic.md)\[]
