Search Results for

    Show / Hide Table of Contents

    Namespace Akka.TestKit.Xunit2.Attributes

    Classes

    LocalFactAttribute

    This custom XUnit Fact attribute will skip unit tests if the environment variable "XUNIT_SKIP_LOCAL_FACT" exists and is set to the string "true"

    Note that the original Skip property takes precedence over this attribute, any unit tests with LocalFactAttribute with its Skip property set will always be skipped, regardless of the environment variable content.

    LocalTheoryAttribute

    This custom XUnit Fact attribute will skip unit tests if the environment variable "XUNIT_SKIP_LOCAL_THEORY" exists and is set to the string "true"

    Note that the original Skip property takes precedence over this attribute, any unit tests with LocalTheoryAttribute with its Skip property set will always be skipped, regardless of the environment variable content.

    WindowsFactAttribute

    This custom XUnit Fact attribute will skip unit tests if the run-time environment is not windows

    Note that the original Skip property takes precedence over this attribute, any unit tests with WindowsFactAttribute with its Skip property set will always be skipped, regardless of the environment variable content.

    In this article
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET