AshGrant.PolicyTest.YamlExporter (AshGrant v0.14.1)

Copy Markdown View Source

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)

Summary

Functions

Exports a policy test module to YAML format.

Functions

export(module)

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

Exports a policy test module to YAML format.