Skip to content

Use error info during integration testing #586

@khieta

Description

@khieta

Describe the improvement you'd like to request

Our integration testing framework supports providing a "custom implementation" of the Cedar validator and authorizer to allow testing new implementations. If a custom implementation is provided, then we ignore the "errors" field of the integration tests, which records which policies are expected to error during an authorization request.

We'll eventually want to update this to enforce that error behavior is consistent between different implementations of Cedar.

Note: We can’t do this until we update the implementations in cedar-spec to return authorization error info.

Describe alternatives you've considered

No response

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this internal improvement
  • ⚠️ This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    internal-improvementRefactoring, minor performance improvement, or other changes that Cedar users may never notice

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions