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

Adding JVM SpecInterceptor reclassifying aborted tests as Ignored #3268

Merged
merged 3 commits into from Oct 30, 2022

Conversation

Kantis
Copy link
Member

@Kantis Kantis commented Oct 28, 2022

fixes #3251

Introduces an actual/except that lets us introduce SpecInterceptors per platform. Added one such interceptor which reclassifies TestResult.Error where the throwable is a TestAbortedException into a TestResult.Ignored instead.

@Kantis Kantis added this to the 5.6 milestone Oct 28, 2022
@Kantis Kantis added enhancement ✨ Suggestions for adding new features or improving existing ones. framework 🏗️ Pertains to the core structure and components of the Kotest framework. labels Oct 28, 2022
@Kantis Kantis requested a review from a team October 28, 2022 23:10
@Kantis Kantis enabled auto-merge (squash) October 29, 2022 21:31
@Kantis Kantis merged commit c10b832 into master Oct 30, 2022
@Kantis Kantis deleted the issue-3251/mark-test-aborted-exception-as-skipped branch October 30, 2022 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ Suggestions for adding new features or improving existing ones. framework 🏗️ Pertains to the core structure and components of the Kotest framework.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for aborting tests by throwing a TestAbortedException
2 participants