> ## Documentation Index
> Fetch the complete documentation index at: https://docs.talosjs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# test

> Alias for monorepo:run --commands=test — run the test script across packages and modules with granular caching.

Short alias for [`monorepo:run`](/cli/commands/monorepo-run) with the command list fixed to `test`. It runs the `test` script across every package and module of your workspace, in dependency order, with a content-addressed task cache. Every other option is forwarded untouched.

## Usage

```bash theme={null}
talos test [options]
```

This is equivalent to:

```bash theme={null}
talos monorepo:run --commands=test
```

## Examples

Test every package and module:

```bash theme={null}
talos test
```

Scope testing to specific modules and packages:

```bash theme={null}
talos test --modules=billing,user --packages=billing,user
```

Stream plain logs instead of the interactive view (for CI):

```bash theme={null}
talos test --logs
```

Force every task to re-run, ignoring the cache:

```bash theme={null}
talos test --no-cache
```

## Options

| Option       | Description                                                   | Default                  |
| ------------ | ------------------------------------------------------------- | ------------------------ |
| `--packages` | Comma-separated package names to include (under `packages/`). | All packages and modules |
| `--modules`  | Comma-separated module names to include (under `modules/`).   | All packages and modules |
| `--logs`     | Stream plain log lines instead of the interactive view.       | `false`                  |
| `--no-cache` | Skip reading and writing the task cache.                      | `false`                  |

<Note>
  Unlike [`monorepo:run`](/cli/commands/monorepo-run), `test` takes no
  `--commands` option — the command list is fixed to `test`.
</Note>

See the [`monorepo:run`](/cli/commands/monorepo-run) reference for the full details on execution order, caching, and output.
