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

Allow pattern matching by CLI for --tests argument with test command #292

Open
big-kahuna-burger opened this issue Apr 5, 2024 · 0 comments

Comments

@big-kahuna-burger
Copy link

big-kahuna-burger commented Apr 5, 2024

So we don't have to do these loops in GH Action like here:
https://github.com/openfga/action-openfga-test/blob/main/action.yml#L27-L38

Right now, it's not possible to do something like this:

fga model test --tests=./*.fga.yaml 

or something like this:

fga model test --tests=./**/*.fga.yaml 

This would enable us to write better test suites, since we could get some naming conventions out, and run them as scenarios with separate tuple sets more easily

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant