A command-line tool for “black-box” automated testing of Rego. Raygun uses OPA as a client, instead of as the test driver. You create YAML test suites that specify the location of the bundle, the policy path, the input JSON and the expected response, and Raygun starts up an OPA process with that bundle, POSTs the input JSON to OPA, checks substrings of the response against your expectations and reports on the results. Easy to integrate into existing build chains. Keeps the tests separate from the policy source code.
Code & Repos
Tutorials
Blogs
Inventors
- PACLabs in the OPA Ecosystem
Labels
Category | tooling |
---|---|
Layer | shell |
Do you have an OPA-based project or integration to share? Follow
these instructions
to get it listed or go to the #ecosystem
channel in the
OPA Slack
if you have any questions.