mix ash_grant.verify (AshGrant v0.14.1)

Copy Markdown View Source

Runs policy configuration tests.

Usage

# Run all policy tests in default location
mix ash_grant.verify

# Run tests from specific directory
mix ash_grant.verify test/policy_tests/

# Run tests from a YAML file
mix ash_grant.verify priv/policy_tests/document.yaml

# Run with verbose output
mix ash_grant.verify --verbose

Options

  • --verbose - Show detailed output for each test
  • --format - Output format: text (default), json

Exit Codes

  • 0 - All tests passed
  • 1 - One or more tests failed