hashicorp / sentinel-sdk

This SDK allows developers to extend Sentinel to source external information for use in their policies.
Mozilla Public License 2.0
51 stars 13 forks source link

Open-source the test suite #4

Open tailhook opened 7 years ago

tailhook commented 7 years ago

It would be cool to publish a test suite along the spec. So alternative implementations could adhere to it.

My use case is to implement the language interpreter in Rust.

(This is kinda promised by @armon on twitter https://twitter.com/armon/status/914498973129428992, just adding an issue to track progress).

mitchellh commented 6 years ago

Sorry this took so long but I agree completely that we should open source the specification test suite. We have a fully automated suite we run against our runtime to test against the specification. It doesn't have full coverage (as you found in #5, but that fix actually added that coverage) but it does have over 200 test cases currently.

I'll work on adding this to the SDK.

cristim commented 4 years ago

@mitchellh also while at it why not just open source the sentinel implementation as well?