aspnetcore/test/Cli.FunctionalTests/AssemblyInfo.cs

27 lines
603 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Cli.FunctionalTests.Util;
using NUnit.Framework;
// Run all test cases in parallel
[assembly: Parallelizable(ParallelScope.Children)]
[SetUpFixture]
public class AssemblySetUp
{
public static string TempDir { get; private set; }
[OneTimeSetUp]
public void SetUp()
{
TempDir = IOUtil.GetTempDir();
}
[OneTimeTearDown]
public void TearDown()
{
IOUtil.DeleteDir(TempDir);
}
}