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-*", "Microsoft.NETCore.Platforms": "1.0.1-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*" "xunit.runner.aspnet": "2.0.0-aspnet-*"
}, },
"commands": {
"test": "xunit.runner.aspnet"
},
"frameworks": { "frameworks": {
"dnx451": { },
"dnxcore50": { "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.Configuration.Json": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*", "Microsoft.NETCore.Platforms": "1.0.1-*",
"xunit": "2.1.0" "xunit": "2.1.0"
}, },
"frameworks": { "frameworks": {
"dnx451": { },
"dnxcore50": { "dnxcore50": {
"imports": "portable-net451+win8", "imports": "portable-net451+win8",
"dependencies": { "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": { "dependencies": {
"xunit": "2.1.0", "xunit": "2.1.0",
"dotnet-publish-iis" : "", "dotnet-publish-iis": "",
"Microsoft.NETCore.Platforms": "1.0.1-*" "Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "dnxcore50": {
"imports": "portable-net451+win8", "imports": "portable-net451+win8",
"dependencies": { "dependencies": {
"xunit.runner.aspnet": "2.0.0-aspnet-*" "dotnet-test-xunit": "1.0.0-dev-*"
} }
} }
},
"commands": {
"test": "xunit.runner.aspnet"
} }
} }