Skip to content
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

OPA conformance: Pass refheads test suite #90

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

anakrish
Copy link
Collaborator

@anakrish anakrish commented Jan 5, 2024

  • parser: allow non-string index at any position; not just last
  • impl Default for Context
  • Fix width of OPA test results table
  • Allow non string compoenent anywhere in rule ref; not just as last item.
  • Normalize want_result before comparison.
  • Ensure that object rules are created even if no definition succeed,
  • Sort want_result values for "refheads/general, multiple result-set entries" The entries are in reverse order of how OPA and regorus produce.
  • Emit PASS status for each OPA testpoint
  • Detect rule conflicts

closes #89

- parser: allow non-string index at any position; not just last
- impl Default for Context
- Fix width of OPA test results table
- Allow non string compoenent anywhere in rule ref; not just as last item.
- Normalize want_result before comparison.
- Ensure that object rules are created even if no definition succeed,
- Sort want_result values for "refheads/general, multiple result-set entries"
  The entries are in reverse order of how OPA and regorus produce.
- Emit PASS status for each OPA testpoint
- Detect rule conflicts

Signed-off-by: Anand Krishnamoorthi <[email protected]>
@anakrish anakrish merged commit 3e1ddac into microsoft:main Jan 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pass refheads OPA test-suite
1 participant