Enable tests to run using dotnet xunit runner

This commit is contained in:
Kiran Challa 2016-02-09 23:47:50 -08:00
parent c5a8792ece
commit dfcd6a6227
2 changed files with 44 additions and 50 deletions

View File

@ -9,23 +9,20 @@
"xunit": "2.1.0"
},
"frameworks": {
"dnxcore50": {
"dependencies": {
"dotnet-test-xunit": "1.0.0-dev-*"
},
"imports": "portable-net451+win8"
},
"dnx451": {
"dependencies": {
"xunit.runner.console": "2.1.0"
}
},
"dnxcore50": {
"dependencies": {
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"imports": "portable-net45+win8"
}
},
"compilationOptions": {
"allowUnsafe": true
},
"testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
}
"testRunner": "xunit"
}

View File

@ -9,11 +9,6 @@
"xunit": "2.1.0"
},
"frameworks": {
"dnx451": {
"dependencies": {
"xunit.runner.console": "2.1.0"
}
},
"dnxcore50": {
"dependencies": {
"System.Diagnostics.TraceSource": "4.0.0-*",
@ -22,9 +17,14 @@
"System.Net.Http.WinHttpHandler": "4.0.0-*",
"System.Net.Sockets": "4.1.0-*",
"System.Runtime.Handles": "4.0.1-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
"dotnet-test-xunit": "1.0.0-dev-*"
},
"imports": "portable-net45+win8"
"imports": "portable-net451+win8"
},
"dnx451": {
"dependencies": {
"xunit.runner.console": "2.1.0"
}
}
},
"compilationOptions": {
@ -32,9 +32,6 @@
"keyFile": "../../tools/Key.snk"
},
"testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"content": [
"TestResources/testCert.pfx"
]