Enable tests to run using dotnet xunit runner

This commit is contained in:
Kiran Challa 2016-02-09 23:28:51 -08:00
parent 99fbeb6ac3
commit 5a8c5bf48d
3 changed files with 16 additions and 15 deletions

View File

@ -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"
]
}

View File

@ -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"
}
}

View File

@ -1,7 +1,4 @@
{
"commands": {
"TestClient": "TestClient"
},
"dependencies": {
"Microsoft.AspNetCore.WebSockets.Protocol": "0.1.0-*",
"Microsoft.AspNetCore.WebSockets.Client": "0.1.0-*"