You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 under tests 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:
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: