package
1.2.0
Repository: https://github.com/open-policy-agent/opa.git
Documentation: pkg.go.dev

# Functions

Load returns modules and an in-memory store for running tests.
LoadBundles will load the given args as bundles, either tarball or directory is OK.
LoadBundlesWithRegoVersion will load the given args as bundles, either tarball or directory is OK.
LoadWithRegoVersion returns modules and an in-memory store for running tests.
NewRunner returns a new runner.
Run executes all test cases found under files in path.
RunWithFilter executes all test cases found under files in path.

# Constants

SkipTestPrefix declares the prefix for tests that should be skipped.
TestPrefix declares the prefix for all test rules.

# Type aliases

BenchmarkOptions defines options specific to benchmarking tests.
JSONCoverageReporter reports coverage as a JSON structure.
JSONReporter reports test results as array of JSON objects.
PrettyReporter reports test results in a simple human readable format.
Reporter defines the interface for reporting test results.
Result represents a single test case result.
Runner implements simple test discovery and execution.