biscuit-java icon indicating copy to clipboard operation
biscuit-java copied to clipboard

Update the test suite

Open divarvel opened this issue 2 years ago • 2 comments

  • [x] update samples
  • [x] 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
    • [x] remove now-unsupported samples

divarvel avatar Apr 06 '23 14:04 divarvel

samples updated in abe8a96332c8aee8a1dd7997f2aa772d294cb54e

Geal avatar Dec 30 '23 15:12 Geal

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

Geal avatar Jan 06 '24 15:01 Geal