Writing Sentinel Policy | Sentinel | HashiCorp Developer
Sentinel has a built-in test framework to validate a policy behaves as expected.