9f2ce63267
With the switch to `netstandardapp1.5` framework for the host, the xUnit test runner broke. For `dotnet test` to work with the .NET Core xUnit runner, it must continue to target `dnxcore50`. Fortunately, we can import our project's framework, and make everything work again. Also improved the `xunit.sh` script to check for dependencies.
22 lines
448 B
JSON
22 lines
448 B
JSON
{
|
|
"name": "powershell-tests",
|
|
"version": "1.0.0-*",
|
|
"description": "PowerShell On Linux xUnit Tests",
|
|
"authors": [ "andschwa" ],
|
|
|
|
"dependencies": {
|
|
"Microsoft.PowerShell.Linux.Host": "1.0.0-*"
|
|
},
|
|
|
|
"frameworks": {
|
|
"dnxcore50": {
|
|
"imports": [ "netstandardapp1.5", "portable-net45+win8" ],
|
|
"dependencies": {
|
|
"xunit": "2.1.0",
|
|
"dotnet-test-xunit": "1.0.0-dev-*"
|
|
}
|
|
}
|
|
},
|
|
|
|
"testRunner": "xunit"
|
|
}
|