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

Provide a mechanism to skip tests at runtime #52

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tgross35
Copy link

@tgross35 tgross35 commented Dec 20, 2024

This is a revival of #38 (cc @bwidawsk) with the following changes:

  • Change from an Option<String> to a custom enum
  • Print the message in output, as is done by libtest when #[ignore = "foo"] is used
  • Drop the commits adding log reordering and "sloppy" comparison

Fixes #19

This runner will inspect Ok values to determine if the test should be
ignored ("skipped" for our purposes means runtime ignore). This can be
seem in terse or json output directly.

Co-authored-by: Ben Widawsky <[email protected]>
Fixes: LukasKalbertodt#19

(Most of this is from Ben, I just updated the types)
Co-authored-by: Ben Widawsky <[email protected]>

(most of this is from Ben)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Runtime ignoring
1 participant