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" "xunit": "2.1.0"
}, },
"frameworks": { "frameworks": {
"dnx451": {
"dependencies": {
"xunit.runner.console": "2.1.0"
}
},
"dnxcore50": { "dnxcore50": {
"dependencies": { "dependencies": {
"xunit.runner.aspnet": "2.0.0-aspnet-*", "dotnet-test-xunit": "1.0.0-dev-*",
"System.Runtime": "4.0.21-*" "System.Runtime": "4.0.21-*"
}, },
"imports": "portable-net451+win8" "imports": "portable-net451+win8"
},
"dnx451": {
"dependencies": {
"xunit.runner.console": "2.1.0"
}
} }
}, },
"testRunner": "xunit", "testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"compilationOptions": { "compilationOptions": {
"allowUnsafe": true, "allowUnsafe": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",

View File

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

View File

@ -7,28 +7,25 @@
"xunit": "2.1.0" "xunit": "2.1.0"
}, },
"frameworks": { "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": { "dnx451": {
"dependencies": { "dependencies": {
"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-*",
"System.Runtime": "4.0.21-*"
},
"imports": "portable-net451+win8"
} }
}, },
"testRunner": "xunit", "testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"compile": "../common/**/*.cs", "compile": "../common/**/*.cs",
"compilationOptions": { "compilationOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
} }
} }

View File

@ -11,25 +11,22 @@
"xunit": "2.1.0" "xunit": "2.1.0"
}, },
"frameworks": { "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": { "dnx451": {
"dependencies": { "dependencies": {
"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-*",
"System.Runtime": "4.0.21-*"
},
"imports": "portable-net451+win8"
} }
}, },
"testRunner": "xunit", "testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"compilationOptions": { "compilationOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"

View File

@ -1,11 +1,14 @@
{ {
"frameworks": { "frameworks": {
"dnx451": { },
"dnxcore50": { "dnxcore50": {
"dependencies": { "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" "shared": "**/*.cs"
} }

View File

@ -11,25 +11,22 @@
"xunit": "2.1.0" "xunit": "2.1.0"
}, },
"frameworks": { "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": { "dnx451": {
"dependencies": { "dependencies": {
"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-*",
"System.Runtime": "4.0.21-*"
},
"imports": "portable-net451+win8"
} }
}, },
"testRunner": "xunit", "testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"compilationOptions": { "compilationOptions": {
"allowUnsafe": true, "allowUnsafe": true,
"warningsAsErrors": true, "warningsAsErrors": true,