Enable tests to run using dotnet xunit runner

This commit is contained in:
Kiran Challa 2016-02-10 00:18:03 -08:00
parent e9921a75a2
commit 8a3d1bd881
3 changed files with 14 additions and 18 deletions

View File

@ -6,13 +6,13 @@
"Microsoft.NETCore.Platforms": "1.0.1-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"commands": {
"test": "xunit.runner.aspnet"
},
"frameworks": {
"dnx451": { },
"dnxcore50": {
"imports": "portable-net451+win8"
}
"imports": "portable-net451+win8",
"dependencies": {
"dotnet-test-xunit": "1.0.0-dev-*"
}
},
"dnx451": {}
}
}
}

View File

@ -15,15 +15,16 @@
"Microsoft.Extensions.Configuration.Json": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*",
"xunit": "2.1.0"
"xunit": "2.1.0"
},
"frameworks": {
"dnx451": { },
"dnxcore50": {
"imports": "portable-net451+win8",
"dependencies": {
"System.Net.Primitives": "4.0.11-*"
"System.Net.Primitives": "4.0.11-*",
"dotnet-test-xunit": "1.0.0-dev-*"
}
}
},
"dnx451": {}
}
}

View File

@ -1,20 +1,15 @@
{
"dependencies": {
"xunit": "2.1.0",
"dotnet-publish-iis" : "",
"dotnet-publish-iis": "",
"Microsoft.NETCore.Platforms": "1.0.1-*"
},
"frameworks": {
"dnxcore50": {
"imports": "portable-net451+win8",
"dependencies": {
"xunit.runner.aspnet": "2.0.0-aspnet-*"
"dotnet-test-xunit": "1.0.0-dev-*"
}
}
},
"commands": {
"test": "xunit.runner.aspnet"
}
}