biscuit-java
biscuit-java copied to clipboard
Update the test suite
- [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
samples updated in abe8a96332c8aee8a1dd7997f2aa772d294cb54e
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