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

Add assume function to abort tests instead of failing them #500

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

evant
Copy link
Collaborator

@evant evant commented Nov 29, 2023

jvm only, uses open4j's TestAbortedException under the hood so works on junit5 or other compatible testing framework (does not work on junit4)

Fixes #432

@evant evant force-pushed the assume branch 2 times, most recently from 9998500 to db097db Compare December 5, 2023 21:16
evant added 2 commits December 5, 2023 14:14
jvm only, uses open4j's TestAbortedException under the hood so works on
junit5 or other compatible testing framework (does not work on junit4)

Fixes #432
@evant
Copy link
Collaborator Author

evant commented Dec 6, 2023

update: I'm worried about fact that this won't work in junit4 projects which is still very common on android unfortunately, will have to think about dealing with this, would documentation be enough?

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.

Missing assumptions
1 participant