-
Notifications
You must be signed in to change notification settings - Fork 18
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
bin not found causes "ignored" not an error #105
Comments
The idea was to gracefully allow mixing untestable examples with testable examples. We do have the |
Yep, having an option to ignore seems fine, but maybe it should be the
wrong default....
Martin
…On Wed, Jul 20, 2022 at 7:58 AM Ed Page ***@***.***> wrote:
The idea was to gracefully allow mixing untestable examples with testable
examples.
We do have the ignore tag and it is unlikely people will have testable
and untestable examples within the same code block, so we could probably
change this.
—
Reply to this email directly, view it on GitHub
<#105 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACUR43O2DSIUXTPBVFN2ALVVAHZPANCNFSM5Z4NPIBQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It seems like I had the exact error, just that I couldn't even access detailed error information via |
This was originally written this way to be a low effort way to ignore, especially if you wanted a markdown block of code that interspersed different commands. In the general case, though, you can ignore the block and this makes it harder to root cause problems. Fixes assert-rs#105
0.14.0 is released with this changed. |
I had forgotten: this is important for when examples are conditionally present: clap-rs/clap#4439 |
Interesting; is there a better solution that covers both use cases? |
Hi! I'm a bit new to the project. What do you thing about returning an error if a binary is either skipped or doesn't have a name? |
I'd recommend reviewing the thread for what has been previously considered. |
In trying to set up trycmd I had this md file:
This gives a result of
ignored
.With
--nocapture
I could find out:It seems to me that "file not found" should probably be a test failure (by default?) not ignored?
The text was updated successfully, but these errors were encountered: