package
0.5.2
Repository: https://github.com/hashicorp/sentinel-sdk.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Sentinel Plugin Test Framework

This folder contains a library for testing plugins that are written in Go.

This works by building the plugin binary dynamically during go test and executing your test policy. The policy must pass. If the policy fails, the failure trace is logged and shown. Execution is done via the publicly available sentinel binary.

Example

You can see an example in the plugin_test.go file in this folder. This test actually runs as part of the unit tests to verify the behavior.