axm hooks test
Execute declared fixtures and record evidence; execution is not sandboxed
Usage
Section titled Usageaxm hooks test <directory> [flags]Arguments
Section titled Arguments| Name | Type | Required | Default | Description |
|---|---|---|---|---|
<directory> | string | Yes | Hook extension directory containing hook.json; executes package code |
Flags
Section titled Flags| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--configuration | string | No | {} | Test consumer values as a JSON object; {env: NAME} references a secret |
--fixture | string | No | Run only named fixtures | |
--scope | choice (project, user) | No | project | Workspace scope |
Examples
Section titled ExamplesExecute a package's declared fixtures
axm hooks test hooks/tool-audit