<PackageReference Include="NUnit" Version="3.0.0-beta-3" />

SetUpFixture

public class SetUpFixture : TestSuite
SetUpFixture extends TestSuite and supports Setup and TearDown methods.
using System; namespace NUnit.Framework.Internal { public class SetUpFixture : TestSuite { public SetUpFixture(Type type) : base(type) { base.Name = type.Namespace; if (base.Name == null) base.Name = "[default namespace]"; int num = base.Name.LastIndexOf('.'); if (num > 0) base.Name = base.Name.Substring(num + 1); CheckSetUpTearDownMethods(typeof(OneTimeSetUpAttribute)); CheckSetUpTearDownMethods(typeof(OneTimeTearDownAttribute)); } } }