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

# tangent plugin test

> Test WASM plugin correctness

Execute plugin tests against fixtures to prevent regressions.

```bash theme={null}
tangent plugin test --config tangent.yaml
```

Tests are configured in `tangent.yaml`
Example:

```yaml theme={null}
plugins:
  zeek:
    module_type: go
    path: .
    tests:
      - input: tests/conn.json
        expected:  tests/conn_out.json
```

**Good tests cover**

* Input edge cases (missing fields, arrays, nulls)
* Schema mapping (e.g., OCSF)
* Error handling (drop/route to different sinks, annotate with reasons)

Run tests locally and in CI.
