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" "xunit": "2.1.0"
}, },
"frameworks": { "frameworks": {
"dnxcore50": {
"dependencies": {
"dotnet-test-xunit": "1.0.0-dev-*"
},
"imports": "portable-net451+win8"
},
"dnx451": { "dnx451": {
"dependencies": { "dependencies": {
"xunit.runner.console": "2.1.0" "xunit.runner.console": "2.1.0"
} }
},
"dnxcore50": {
"dependencies": {
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"imports": "portable-net45+win8"
} }
}, },
"compilationOptions": { "compilationOptions": {
"allowUnsafe": true "allowUnsafe": true
}, },
"testRunner": "xunit", "testRunner": "xunit"
"commands": {
"test": "xunit.runner.aspnet"
}
} }

View File

@ -9,11 +9,6 @@
"xunit": "2.1.0" "xunit": "2.1.0"
}, },
"frameworks": { "frameworks": {
"dnx451": {
"dependencies": {
"xunit.runner.console": "2.1.0"
}
},
"dnxcore50": { "dnxcore50": {
"dependencies": { "dependencies": {
"System.Diagnostics.TraceSource": "4.0.0-*", "System.Diagnostics.TraceSource": "4.0.0-*",
@ -22,9 +17,14 @@
"System.Net.Http.WinHttpHandler": "4.0.0-*", "System.Net.Http.WinHttpHandler": "4.0.0-*",
"System.Net.Sockets": "4.1.0-*", "System.Net.Sockets": "4.1.0-*",
"System.Runtime.Handles": "4.0.1-*", "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": { "compilationOptions": {
@ -32,9 +32,6 @@
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"testRunner": "xunit", "testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"content": [ "content": [
"TestResources/testCert.pfx" "TestResources/testCert.pfx"
] ]