OPA Ecosystem / Policy Testing

Policy Testing

Styra Declarative Authorization Service

Policy as Code Control Plane by Styra

DAS supports the running of tests alongside Rego policy in its UI. Read documentation about testing Rego policies in DAS.
View Details

Conftest

Rego policy for configuration files

Conftest supports unit testing of policy and has a number of extra language features for working with configuration files. The functionality is documented here.
View Conftest Details

Styra Enterprise OPA

Styra

Enterprise OPA’s Live Impact Analysis (LIA) feature allows you to test changes to Rego policy on running instances.
View Styra Enterprise OPA Details

Regal

The Linter of Rego Language by Styra

Regal is a useful step to use when testing Rego policies to ensure code is correct and free of common errors. See the README to get started.
View Regal Details

Integrations are ordered by the amount of linked content.