Enable tests to run using donet xunit test runner

This commit is contained in:
Kiran Challa 2016-02-09 21:40:22 -08:00
parent 4e68e8f3ab
commit 85b1ac37bf
6 changed files with 48 additions and 60 deletions

View File

@ -10,23 +10,20 @@
"xunit": "2.1.0"
},
"frameworks": {
"dnx451": {
"dependencies": {
"xunit.runner.console": "2.1.0"
}
},
"dnxcore50": {
"dependencies": {
"xunit.runner.aspnet": "2.0.0-aspnet-*",
"dotnet-test-xunit": "1.0.0-dev-*",
"System.Runtime": "4.0.21-*"
},
"imports": "portable-net451+win8"
},
"dnx451": {
"dependencies": {
"xunit.runner.console": "2.1.0"
}
}
},
"testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"compilationOptions": {
"allowUnsafe": true,
"keyFile": "../../tools/Key.snk",

View File

@ -8,23 +8,20 @@
"xunit": "2.1.0"
},
"frameworks": {
"dnx451": {
"dependencies": {
"xunit.runner.console": "2.1.0"
}
},
"dnxcore50": {
"dependencies": {
"xunit.runner.aspnet": "2.0.0-aspnet-*",
"dotnet-test-xunit": "1.0.0-dev-*",
"System.Runtime": "4.0.21-*"
},
"imports": "portable-net451+win8"
},
"dnx451": {
"dependencies": {
"xunit.runner.console": "2.1.0"
}
}
},
"testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"compilationOptions": {
"allowUnsafe": true,
"warningsAsErrors": true,

View File

@ -7,28 +7,25 @@
"xunit": "2.1.0"
},
"frameworks": {
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*",
"System.Runtime": "4.0.21-*"
},
"imports": "portable-net451+win8"
},
"dnx451": {
"dependencies": {
"Moq": "4.2.1312.1622",
"xunit.runner.console": "2.1.0"
}
},
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"xunit.runner.aspnet": "2.0.0-aspnet-*",
"System.Runtime": "4.0.21-*"
},
"imports": "portable-net451+win8"
}
}
},
"testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"compile": "../common/**/*.cs",
"compilationOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk"
}
}
}

View File

@ -11,25 +11,22 @@
"xunit": "2.1.0"
},
"frameworks": {
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*",
"System.Runtime": "4.0.21-*"
},
"imports": "portable-net451+win8"
},
"dnx451": {
"dependencies": {
"Moq": "4.2.1312.1622",
"xunit.runner.console": "2.1.0"
}
},
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"xunit.runner.aspnet": "2.0.0-aspnet-*",
"System.Runtime": "4.0.21-*"
},
"imports": "portable-net451+win8"
}
}
},
"testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"compilationOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk"

View File

@ -1,11 +1,14 @@
{
"frameworks": {
"dnx451": { },
"dnxcore50": {
"dependencies": {
"System.Runtime": "4.0.21-*"
}
}
"System.Runtime": "4.0.21-*",
"dotnet-test-xunit": "1.0.0-dev-*",
"Microsoft.NETCore.Platforms": "1.0.1-*"
},
"imports": "portable-net451+win8"
},
"dnx451": {}
},
"shared": "**/*.cs"
}
}

View File

@ -11,25 +11,22 @@
"xunit": "2.1.0"
},
"frameworks": {
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"dotnet-test-xunit": "1.0.0-dev-*",
"System.Runtime": "4.0.21-*"
},
"imports": "portable-net451+win8"
},
"dnx451": {
"dependencies": {
"Moq": "4.2.1312.1622",
"xunit.runner.console": "2.1.0"
}
},
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"xunit.runner.aspnet": "2.0.0-aspnet-*",
"System.Runtime": "4.0.21-*"
},
"imports": "portable-net451+win8"
}
}
},
"testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"compilationOptions": {
"allowUnsafe": true,
"warningsAsErrors": true,