-
Notifications
You must be signed in to change notification settings - Fork 39
Description
When working with Modular Models, you'd want to keep the tests together with the module, so each team can own their own tests.
In the https://github.com/openfga/sample-stores/tree/main/stores example, we show that approach with a core.fga.yaml, wiki.fga.yaml, issue-tracker.fga.yaml test files.
For the tests for the wiki and issue-tracker module to pass, they need certain tuples that belong to the core module, so they include a core-tuples.yaml file using the tuple_file directlve.
However, in more complex scenarios, the tests for one module could require tuples from multiple modules. Currently, you would need to duplicate those tuples in each .fga.yaml file. Ideally, I can have a set of YAML files with tuples and I can include them in every .fga.yaml file.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status