Skip to main content
A project is the top-level container in TestSprite. It carries a name, a type (frontend or backend), and — for frontend projects — a target URL that TestSprite opens when it runs your tests. Every test belongs to exactly one project, identified by its projectId.
Projects created or updated through the CLI are immediately visible in the Web Portal, and vice versa. All surfaces share the same data.

Listing projects

Text output is a table with five columns:
When there are more results, the CLI appends a nextToken line to the text output. Pass that value as --starting-token on the next call to continue.

Getting a project

Text output:

Creating a project

Frontend project example:
Backend project example:
--url must be a public http(s) address — localhost and private IPs are rejected before any network call. To test a local app, use the MCP Server; see Common Issues if a URL is rejected.

Updating a project

You must pass at least one mutable flag — an update with no changes exits with a validation error (exit 5).

Backend test credentials

Backend projects can inject auth into every backend test run, either as a static credential or as a recurring, auto-refreshed token:

Command Reference

Full flag reference for project credential and project auto-auth

Where to Go Next

Creating Tests

Author a frontend plan or backend code file inside a project

Key Terms

Project, test, run — definitions and relationships

Running Tests

Trigger runs and poll for verdicts

Command Reference

Full flag listing for every command