I have looked into this already and will create a pull request.
Description
Certain unit tests seem to occasionally pass and occasionally fail, when running all tests together.
These tests are related to:
- AsyncFunctionExceptionAssertionSpecs
- ExecutionAssertionSpecs
- FunctionExceptionAssertionSpecs
Expected behavior:
All unit tests should pass reliably, independent from one another.
Actual behavior:
Occasionally some tests will fail when run together.
Complete minimal example reproducing the issue
Run all of the tests, either using the PowerShell build script or through Visual Studio.
Versions
- Which version of Fluent Assertions are you using? 5.6.1