Enable tests to run using dotnet xunit runner

This commit is contained in:
Kiran Challa 2016-02-09 22:26:18 -08:00
parent ce187a0e55
commit 24b224e046
4 changed files with 33 additions and 45 deletions

View File

@ -15,6 +15,13 @@
}, },
"compile": "../Shared/*.cs", "compile": "../Shared/*.cs",
"frameworks": { "frameworks": {
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*"
},
"imports": "portable-net451+win8"
},
"dnx451": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Threading.Tasks": "" "System.Threading.Tasks": ""
@ -23,17 +30,7 @@
"Moq": "4.2.1312.1622", "Moq": "4.2.1312.1622",
"xunit.runner.console": "2.1.0" "xunit.runner.console": "2.1.0"
} }
},
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"imports": "portable-net451+win8"
} }
}, },
"testRunner": "xunit", "testRunner": "xunit"
"commands": {
"test": "xunit.runner.aspnet"
}
} }

View File

@ -20,6 +20,13 @@
}, },
"compile": "../Shared/*.cs", "compile": "../Shared/*.cs",
"frameworks": { "frameworks": {
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*"
},
"imports": "portable-net451+win8"
},
"dnx451": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Threading.Tasks": "" "System.Threading.Tasks": ""
@ -28,17 +35,7 @@
"Moq": "4.2.1312.1622", "Moq": "4.2.1312.1622",
"xunit.runner.console": "2.1.0" "xunit.runner.console": "2.1.0"
} }
},
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"imports": "portable-net451+win8"
} }
}, },
"testRunner": "xunit", "testRunner": "xunit"
"commands": {
"test": "xunit.runner.aspnet"
}
} }

View File

@ -16,6 +16,13 @@
}, },
"compile": "../Shared/*.cs", "compile": "../Shared/*.cs",
"frameworks": { "frameworks": {
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*"
},
"imports": "portable-net451+win8"
},
"dnx451": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Threading.Tasks": "" "System.Threading.Tasks": ""
@ -24,17 +31,7 @@
"Moq": "4.2.1312.1622", "Moq": "4.2.1312.1622",
"xunit.runner.console": "2.1.0" "xunit.runner.console": "2.1.0"
} }
},
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"imports": "portable-net451+win8"
} }
}, },
"testRunner": "xunit", "testRunner": "xunit"
"commands": {
"test": "xunit.runner.aspnet"
}
} }

View File

@ -15,6 +15,14 @@
}, },
"compile": "../Shared/*.cs", "compile": "../Shared/*.cs",
"frameworks": { "frameworks": {
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"System.Xml.ReaderWriter": "4.0.10-*",
"dotnet-test-xunit": "1.0.0-dev-*"
},
"imports": "portable-net451+win8"
},
"dnx451": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Threading.Tasks": "" "System.Threading.Tasks": ""
@ -23,18 +31,7 @@
"Moq": "4.2.1312.1622", "Moq": "4.2.1312.1622",
"xunit.runner.console": "2.1.0" "xunit.runner.console": "2.1.0"
} }
},
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"System.Xml.ReaderWriter": "4.0.10-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"imports": "portable-net451+win8"
} }
}, },
"testRunner": "xunit", "testRunner": "xunit"
"commands": {
"test": "xunit.runner.aspnet"
}
} }