From 5a8c5bf48d7943d687a0958629c8d3961c5d899d Mon Sep 17 00:00:00 2001 From: Kiran Challa Date: Tue, 9 Feb 2016 23:28:51 -0800 Subject: [PATCH] Enable tests to run using dotnet xunit runner --- test/AutobahnTestServer/project.json | 13 ++++++++++--- .../project.json | 15 ++++++--------- test/TestClient/project.json | 3 --- 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/test/AutobahnTestServer/project.json b/test/AutobahnTestServer/project.json index d6f3ab082b..389fb0ae9d 100644 --- a/test/AutobahnTestServer/project.json +++ b/test/AutobahnTestServer/project.json @@ -9,8 +9,15 @@ "emitEntryPoint": true }, "frameworks": { - "dnx451": {}, - "dnxcore50": {} + "dnxcore50": { + "dependencies": { + "dotnet-test-xunit": "1.0.0-dev-*" + }, + "imports": "portable-net451+win8" + }, + "dnx451": {} }, - "content": [ "hosting.json" ] + "content": [ + "hosting.json" + ] } \ No newline at end of file diff --git a/test/Microsoft.AspNetCore.WebSockets.Protocol.Test/project.json b/test/Microsoft.AspNetCore.WebSockets.Protocol.Test/project.json index f189170f6f..101547fcf7 100644 --- a/test/Microsoft.AspNetCore.WebSockets.Protocol.Test/project.json +++ b/test/Microsoft.AspNetCore.WebSockets.Protocol.Test/project.json @@ -6,6 +6,12 @@ }, "testRunner": "xunit", "frameworks": { + "dnxcore50": { + "dependencies": { + "dotnet-test-xunit": "1.0.0-dev-*" + }, + "imports": "portable-net451+win8" + }, "dnx451": { "frameworkAssemblies": { "System.Runtime": "" @@ -13,15 +19,6 @@ "dependencies": { "xunit.runner.console": "2.1.0" } - }, - "dnxcore50": { - "dependencies": { - "xunit.runner.aspnet": "2.0.0-aspnet-*" - }, - "imports": "portable-net45+win8" } - }, - "commands": { - "test": "xunit.runner.aspnet" } } \ No newline at end of file diff --git a/test/TestClient/project.json b/test/TestClient/project.json index 7ac58fa16b..d24a9e6b18 100644 --- a/test/TestClient/project.json +++ b/test/TestClient/project.json @@ -1,7 +1,4 @@ { - "commands": { - "TestClient": "TestClient" - }, "dependencies": { "Microsoft.AspNetCore.WebSockets.Protocol": "0.1.0-*", "Microsoft.AspNetCore.WebSockets.Client": "0.1.0-*"