Skip to content

Some unit tests fail occasionally when run alongside other tests #1022

@davidomid

Description

@davidomid

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions