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

Update the test suite #57

Open
3 of 6 tasks
divarvel opened this issue Apr 6, 2023 · 2 comments
Open
3 of 6 tasks

Update the test suite #57

divarvel opened this issue Apr 6, 2023 · 2 comments

Comments

@divarvel
Copy link
Collaborator

divarvel commented Apr 6, 2023

  • update samples
  • implement automated tests based on the samples.json file
    • check serialization consistency between source code and serialized biscuits
    • check datalog parsing consistency
    • check evaluation consistency
    • remove now-unsupported samples
@Geal
Copy link
Contributor

Geal commented Dec 30, 2023

samples updated in abe8a96

@Geal
Copy link
Contributor

Geal commented Jan 6, 2024

the samples updated last week come from the spec repository https://github.com/biscuit-auth/biscuit/blob/main/samples/current/samples.json but the most up to date version of samples generation has a different format where facts, rules and checks are stored with their origin. Samples testing in this repository should be updated to use the origin now that scopes are implemented

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

No branches or pull requests

2 participants