Open magnusart opened 6 months ago
When I run the command fga model test --test=.. I get the output:
fga model test --test=..
# Test Summary # Tests 24/24 passing Checks 62/62 passing
When I run the command fga model test --test=.. --verbose I get the output:
fga model test --test=.. --verbose
[ ... JSON output ... ] # Test Summary # Tests 24/24 passing Checks 62/62 passing
However if I make a change to a test so one test fails and run the same command fga model test --test=.. --verbose I get the output:
[ ... JSON output ... ]
--verbose
This creates problems when running the CLI tool from build scripts and I want to interpret the output.
0.4.0 (latest from homebrew)
As a binary
In-Memory
Nope
No
Checklist
Description
When I run the command
fga model test --test=..
I get the output:When I run the command
fga model test --test=.. --verbose
I get the output:However if I make a change to a test so one test fails and run the same command
fga model test --test=.. --verbose
I get the output:Expectation
--verbose
flag.--verbose
flag regardless if the test suite fails or succeeds.This creates problems when running the CLI tool from build scripts and I want to interpret the output.
Reproduction
OpenFGA version
0.4.0 (latest from homebrew)
How are you running OpenFGA?
As a binary
What datastore are you using?
In-Memory
OpenFGA Flags
Nope
Logs
No