-
Notifications
You must be signed in to change notification settings - Fork 410
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
Show file path URI in tracing messages #665
Show file path URI in tracing messages #665
Conversation
I have been thinking about this for some time now. I think we should allow to parametrize this with a flag. There might be other formats as well. |
Would you have any suggestions or hints on how to expose this as a flag? |
Well, the flags are passed on again and again from (libexec/bats-core/) bats to bats-exec-suite to bats-exec-file to bats-exec-test. The parsing code consists of large |
2532714
to
d117126
Compare
d117126
to
f442b51
Compare
f442b51
to
74ba73a
Compare
74ba73a
to
58ed18d
Compare
@jbriales Do you have feedback about the naming?
I also had to work around missing realpath on MacOS. |
Sweet! Naming is hard, but I think it's good like that :D Also I would consider if calling it |
Okay, I renamed:
|
I'm considering a change to how the test error locations are printed in the trace,
so that one can jump to the location in an IDE with typical support.
We could make this a CLI option maybe, to keep things the same by default?
The new output would be:
instead of the current
Before jumping into adding tests and any other extra work,
is this sth that you could consider merging to master?