Search Results for

    Show / Hide Table of Contents

    TestFixtureSetUp

    Important

    The TestFixtureSetUp attribute has been deprecated. Use OneTimeSetUp Attribute instead.

    TestFixtureSetUpAttribute was used in older NUnit versions for one-time setup before tests in a fixture.

    Usage

    This legacy attribute is deprecated and should be replaced with [OneTimeSetUp].

    Applies To

    Lifecycle Methods Test Methods Test Fixtures (Classes) Assembly
    ✅ ❌ ❌ ❌

    See Also

    • OneTimeSetUp Attribute
    • SetUp Attribute
    • Edit this page
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0