Enable tests to run using dotnet xunit runner

This commit is contained in:
Kiran Challa 2016-02-10 00:20:35 -08:00
parent 5e72b580d9
commit 84ac19571c
2 changed files with 13 additions and 19 deletions

View File

@ -16,10 +16,13 @@
"Microsoft.NETCore.Platforms": "1.0.1-*" "Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"testRunner": "xunit", "testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"frameworks": { "frameworks": {
"dnxcore50": {
"imports": "portable-net451+win8",
"dependencies": {
"dotnet-test-xunit": "1.0.0-dev-*"
}
},
"dnx451": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Runtime": "", "System.Runtime": "",
@ -29,12 +32,6 @@
"Moq": "4.2.1312.1622", "Moq": "4.2.1312.1622",
"xunit.runner.console": "2.1.0" "xunit.runner.console": "2.1.0"
} }
},
"dnxcore50": {
"imports": "portable-net451+win8",
"dependencies": {
"xunit.runner.aspnet": "2.0.0-aspnet-*"
}
} }
} }
} }

View File

@ -13,10 +13,14 @@
"Microsoft.NETCore.Platforms": "1.0.1-*" "Microsoft.NETCore.Platforms": "1.0.1-*"
}, },
"testRunner": "xunit", "testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"frameworks": { "frameworks": {
"dnxcore50": {
"imports": "portable-net451+win8",
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*"
}
},
"dnx451": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Runtime": "", "System.Runtime": "",
@ -26,13 +30,6 @@
"Moq": "4.2.1312.1622", "Moq": "4.2.1312.1622",
"xunit.runner.console": "2.1.0" "xunit.runner.console": "2.1.0"
} }
},
"dnxcore50": {
"imports": "portable-net451+win8",
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
}
} }
}, },
"compilationOptions": { "compilationOptions": {