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 expected failure status #55

Merged

Conversation

maveric94
Copy link
Contributor

If you use XCTExpectFailure in your tests, test status in xcresult file is 'Expected Failure' instead of 'Success'. This results in null status in allure report, although test was successful.

func test() {
  XCTExpectFailure()
  XCTFail()
}
image

Here test report with such test
Test-testLocation-2023.08.24_18-01-44-+0300.xcresult.zip

@eroshenkoam eroshenkoam merged commit 89041a1 into eroshenkoam:main Sep 14, 2023
@eroshenkoam eroshenkoam added the bug Something isn't working label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants