Added new test framework (test) (#2247)

* Added new test framework (test)

* added nunit import
This commit is contained in:
Alex Ma
2023-09-21 14:25:11 -07:00
committed by GitHub
parent c29fb03b6e
commit b2120269a7
7 changed files with 43 additions and 41 deletions

View File

@@ -11,13 +11,13 @@ using System.Threading.Tasks;
using Microsoft.SqlTools.ServiceLayer.Connection.Contracts;
using Microsoft.SqlTools.ServiceLayer.ObjectExplorer.Contracts;
using Microsoft.SqlTools.ServiceLayer.Test.Common;
using Xunit;
using NUnit.Framework;
namespace Microsoft.SqlTools.ServiceLayer.PerfTests
{
public class ObjectExplorerTests
{
[Fact]
[Test]
[CreateTestDb(TestServerType.Azure)]
public async Task CreateSessionAzure()
{
@@ -25,7 +25,7 @@ namespace Microsoft.SqlTools.ServiceLayer.PerfTests
await VerifyCreateSession(serverType);
}
[Fact]
[Test]
[CreateTestDb(TestServerType.OnPrem)]
public async Task CreateSessionOnPrem()
{
@@ -33,7 +33,7 @@ namespace Microsoft.SqlTools.ServiceLayer.PerfTests
await VerifyCreateSession(serverType);
}
[Fact]
[Test]
[CreateTestDb(TestServerType.OnPrem)]
public async Task ExpandDatabasesOnPrem()
{
@@ -41,7 +41,7 @@ namespace Microsoft.SqlTools.ServiceLayer.PerfTests
await VerifyExpand(serverType, SqlTestDb.MasterDatabaseName);
}
[Fact]
[Test]
[CreateTestDb(TestServerType.OnPrem)]
public async Task ExpandOneDatabaseOnPrem()
{
@@ -49,7 +49,7 @@ namespace Microsoft.SqlTools.ServiceLayer.PerfTests
await VerifyExpand(serverType, Common.PerfTestDatabaseName);
}
[Fact]
[Test]
[CreateTestDb(TestServerType.Azure)]
public async Task ExpandDatabasesAzure()
{
@@ -57,7 +57,7 @@ namespace Microsoft.SqlTools.ServiceLayer.PerfTests
await VerifyExpand(serverType, SqlTestDb.MasterDatabaseName);
}
[Fact]
[Test]
[CreateTestDb(TestServerType.Azure)]
public async Task ExpandOneDatabaseAzure()
{