# Testing Extensions



## Install [#install]

```bash
npm install -D @godmode-cli/test
```

## Usage [#usage]

```ts
import { testExtension } from '@godmode-cli/test';
testExtension('my-api', 'path/to/manifest.yaml');
```

This will:

1. Register the extension via `godmode extension add`
2. Test every route resolves to the correct URL using `--dry-run`
3. Verify `--help` output shows usage and resources
