Enable tests to run using dotnet xunit runner

This commit is contained in:
Kiran Challa 2016-02-09 22:11:34 -08:00
parent 04e9da4e88
commit 4a3e2ad3c5
7 changed files with 62 additions and 83 deletions

View File

@ -10,24 +10,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

@ -7,24 +7,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

@ -5,24 +5,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

@ -5,24 +5,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

@ -7,24 +7,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

@ -8,10 +8,14 @@
"warningsAsErrors": true "warningsAsErrors": true
}, },
"testRunner": "xunit", "testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"frameworks": { "frameworks": {
"dnxcore50": {
"dependencies": {
"System.Text.Encoding.Extensions": "4.0.11-*",
"dotnet-test-xunit": "1.0.0-dev-*"
},
"imports": "portable-net451+win8"
},
"dnx451": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Runtime": "", "System.Runtime": "",
@ -20,13 +24,6 @@
"dependencies": { "dependencies": {
"xunit.runner.console": "2.1.0" "xunit.runner.console": "2.1.0"
} }
},
"dnxcore50": {
"dependencies": {
"System.Text.Encoding.Extensions": "4.0.11-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"imports": "portable-net451+win8"
} }
} }
} }

View File

@ -6,24 +6,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"
}
}