Enable tests to run using dotnet xunit runner

This commit is contained in:
Kiran Challa 2016-02-10 05:47:19 -08:00
parent 34bc9c52e1
commit 552afb87b5
3 changed files with 26 additions and 36 deletions

View File

@ -16,6 +16,13 @@
"xunit": "2.1.0" "xunit": "2.1.0"
}, },
"frameworks": { "frameworks": {
"dnxcore50": {
"dependencies": {
"System.Runtime": "4.0.21-*",
"dotnet-test-xunit": "1.0.0-dev-*"
},
"imports": "portable-net451+win8"
},
"dnx451": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Runtime": "", "System.Runtime": "",
@ -24,17 +31,7 @@
"dependencies": { "dependencies": {
"xunit.runner.console": "2.1.0" "xunit.runner.console": "2.1.0"
} }
},
"dnxcore50": {
"dependencies": {
"System.Runtime": "4.0.21-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"imports": "portable-net451+win8"
} }
}, },
"testRunner": "xunit", "testRunner": "xunit"
"commands": {
"test": "xunit.runner.aspnet"
}
} }

View File

@ -11,24 +11,21 @@
"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": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Runtime": "", "System.Runtime": "",
"System.Threading.Tasks": "" "System.Threading.Tasks": ""
}, },
"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-net451+win8"
} }
}, },
"testRunner": "xunit", "testRunner": "xunit"
"commands": { }
"test": "xunit.runner.aspnet"
}
}

View File

@ -10,8 +10,14 @@
"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": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Runtime": "", "System.Runtime": "",
"System.Threading.Tasks": "", "System.Threading.Tasks": "",
"System.Xml.Linq": "" "System.Xml.Linq": ""
@ -19,17 +25,7 @@
"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-net451+win8"
} }
}, },
"testRunner": "xunit", "testRunner": "xunit"
"commands": { }
"test": "xunit.runner.aspnet"
}
}