Skip to main content
Version: 1.0.10

Test Command

Run tests for Eliza agent projects and plugins.

Usage

elizaos test [options] [command]

Subcommands

SubcommandDescription
componentRun component tests (via Vitest)
e2eRun end-to-end runtime tests
allRun both component and e2e tests (default)

Options

OptionDescription
-p, --port <port>Server port for e2e tests
-n, --name <n>Filter tests by name (matches file names or test suite names)
--skip-buildSkip building before running tests
--skip-type-checkSkip TypeScript type checking for faster test runs
--watchEnable watch mode to re-run tests on file changes
--coverageGenerate a test coverage report