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.
LoadBundlesWithParserOptions 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.
LoadWithParserOptions returns modules and an in-memory store for running tests.
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.

# Structs

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.
Result represents a single test case result.
Runner implements simple test discovery and execution.

# Interfaces

Reporter defines the interface for reporting test results.

# Type aliases