Distinguish between failed and broken tests when using a 3rd party assertion library with Allure.NUnit and Allure.Xunit #520
Labels
task:improvement
Change that improves some user experience but can't be considered a new feature
theme:nunit
theme:xunit
I'm submitting a ...
What is the current behavior?
The test case failed using fluentassertions or Playwright are shown as broken instead of failed
If the current behavior is a bug, please provide the steps to reproduce and, if possible, a minimal demo of the problem
Create a simple test using FluentAssertions or Playwright dotnet, when you run the tests the resutl is shown as broken
What is the expected behavior?
The test should be failed if I have configured the list of exceptions (failExceptions).
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information
I was taking a look to the AllureNUnitHelper and I was able to see that the IsBroken function is waiting elements in result.Assertions list but when you use FluentAssertions or Playwright this list is not update so the tests are always mark as broken.
The text was updated successfully, but these errors were encountered: