-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardize tests #13
Labels
Comments
Changes can be found on this branch. |
test template
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently have a mix of old yaml tests that are executed by a go script and rego tests that are executed by opa. We want to remove all the yaml tests and add rego tests for all policies. The test should be called
policy_test.rego
undertests
dir and should contain all test scenarios unless the test scenarios are too many, in this case, it's ok to split them over several files and have multiple files.Some policies have both types of tests, we want to delete the yaml one if there's an equivalent rego one.
Here you can find a list of policies that need to be refactored.
The text was updated successfully, but these errors were encountered: