# `AshGrant.PolicyTest.YamlExporter`
[🔗](https://github.com/jhlee111/ash_grant/blob/v0.14.1/lib/ash_grant/policy_test/yaml_exporter.ex#L1)

Exports policy test modules to YAML format.

This allows converting Elixir DSL policy tests to YAML for:
- Documentation purposes
- Sharing with non-Elixir developers
- External tool integration

## Examples

    yaml = YamlExporter.export(MyApp.PolicyTests.DocumentTest)
    File.write!("document_tests.yaml", yaml)

# `export`

```elixir
@spec export(module()) :: String.t()
```

Exports a policy test module to YAML format.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
