Skip to content

fix: report issue before fatal errors#135

Merged
Kolos65 merged 1 commit intomainfrom
gracefully-fail-unmocked-cases
Jan 19, 2026
Merged

fix: report issue before fatal errors#135
Kolos65 merged 1 commit intomainfrom
gracefully-fail-unmocked-cases

Conversation

@Kolos65
Copy link
Copy Markdown
Owner

@Kolos65 Kolos65 commented Jan 16, 2026

This PR aims to help developer experience by reporting failures (XCTFail of Issue.report) before fatalErrors in case of unrecoverable errors like calling an unmocked method. This can prevent crashes when XCTest is used in combination with using continueOnFailure = false in your test cases. Unfortunately Swift Testing has no similar feature so these kind of crashes are unavoidable there.

@Kolos65 Kolos65 merged commit 55f846e into main Jan 19, 2026
10 checks passed
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.

1 participant