Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ Read the current project instructions here before replacing them with `project u

When the server supplies an environment summary, text detail shows `defaultEnv: <name>` and `envs: <count>`, with a `testsprite project env list <project-id>` hint for a positive count. A reported null default shows `-`; older servers omit both lines. JSON preserves the server's fields without adding missing values.

#### `testsprite test list --project <id>`
#### `testsprite test list [--project <id>]`

List the project's test cases as they are written. `--project` is required. Cursor-paginated. Each row is the case alone: `id`, `slug`, `title`, `type`, `category`, `priority`, `version` and `stepCount`; a result is never part of it (`testsprite result list --test <test-id> --limit 1` reads the latest non-cancelled one). Text output has the ID / SLUG / TITLE / TYPE / CATEGORY / PRIORITY / VERSION / STEPS / UPDATED columns.
List the project's test cases as they are written. A nonblank `--project` takes precedence over `TESTSPRITE_PROJECT_ID`. If you omit the flag, the CLI uses `TESTSPRITE_PROJECT_ID`. With neither value set, the command exits 5 (or 3 when no API key is configured). Cursor-paginated. Each row is the case alone: `id`, `slug`, `title`, `type`, `category`, `priority`, `version` and `stepCount`; a result is never part of it (`testsprite result list --test <test-id> --limit 1` reads the latest non-cancelled one). Text output has the ID / SLUG / TITLE / TYPE / CATEGORY / PRIORITY / VERSION / STEPS / UPDATED columns.

```bash
testsprite test list --project "$PROJECT_ID" --output json
Expand Down
Loading