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
Add --schema flag to opa test
#5923
Comments
I can take care of this |
I added the Before the fix:
After the fix:
I didn't submit the PR yet because I still need to check where to add the proper test case for that new flag. Meanwhile, since it is my first PR, do you mind checking my fix commit so I can adjust it if needed before I submit the PR? Also, a few extra things that I noticed:
Thanks |
Awesome! The commit looks fine to me, but it would be good if some tests were added just to assert this works as expected. |
…a reading runner: added annotation/metadata reading for opa test Fixes: open-policy-agent#5923 Signed-off-by: Renato Cordeiro <renato@renatocordeiro.com>
…a reading runner: added annotation/metadata reading for opa test Fixes: open-policy-agent#5923 Signed-off-by: Renato Cordeiro <renato@renatocordeiro.com>
* test: Add --schema flag to opa test * runner: added annotation/metadata reading for opa test Fixes: #5923 Signed-off-by: Renato Cordeiro <renato@renatocordeiro.com>
Should work identically to
opa eval
, but having to run a single command for e.g. TDD makes for less friction.The text was updated successfully, but these errors were encountered: