-
Notifications
You must be signed in to change notification settings - Fork 309
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
Trace is not outputted when --output=table
#1031
Comments
Could not reproduce this on v0.55.0 or v0.56.0 (latest) on macOS 15.2. These commands produce identical output, sometimes in different order:
Looking at the code:
Which environment was this failing on? |
Thanks for diving into this @thevilledev. Upon closer inspection, I was setting the output flag to |
--trace
flag--trace
flag is not respected when --output=table
--trace
flag is not respected when --output=table
--output=table
I agree this is not intuitive (or documented) behavior. I haven't had time to dig into why it is this way, so there may be a reason. PRs are welcome. |
I noticed the tracing flag is only available for standard output. It's not passed to other output formats even if defined, on the other hand why would it be. I have a proposal to fix this in #1060 so that if the flag is defined, output format always defaults to standard. |
As of v0.55.0, the CONFTEST_TRACE env var does not seem to set theconftest test --trace
flag.I expected the trace to still be displayed even if the output is set to something else.
The text was updated successfully, but these errors were encountered: