Revert change to nunit and restore xunit (#2249)

* Revert "Added new test framework (test) (#2247)"

This reverts commit b2120269a7.

* Added assert Fail as a test
This commit is contained in:
Alex Ma
2023-09-22 13:07:48 -07:00
committed by GitHub
parent b2120269a7
commit d3c28d358f
7 changed files with 40 additions and 42 deletions

View File

@@ -9,14 +9,14 @@ using System.Threading;
using System.Threading.Tasks;
using Microsoft.SqlTools.ServiceLayer.Test.Common;
using Microsoft.SqlTools.ServiceLayer.Workspace.Contracts;
using NUnit.Framework;
using Xunit;
namespace Microsoft.SqlTools.ServiceLayer.PerfTests
{
public class ConnectionTests
{
[Test]
[Fact]
[CreateTestDb(TestServerType.Azure)]
public async Task ConnectAzureTest()
{
@@ -53,7 +53,7 @@ namespace Microsoft.SqlTools.ServiceLayer.PerfTests
});
}
[Test]
[Fact]
[CreateTestDb(TestServerType.OnPrem)]
public async Task ConnectOnPremTest()
{
@@ -91,7 +91,7 @@ namespace Microsoft.SqlTools.ServiceLayer.PerfTests
});
}
[Test]
[Fact]
[CreateTestDb(TestServerType.OnPrem)]
public async Task DisconnectTest()
{