提交 26515d1a 编写于 作者: N Nick Craver

Enable ASYNC tests and port to xUnit

There's a hit or miss on the dnx run style entry point now - but this
isn't really needed with dnx test, we can just drop the old code IMO.
上级 8c46aee6
此差异已折叠。
...@@ -67,7 +67,7 @@ namespace SqlMapper ...@@ -67,7 +67,7 @@ namespace SqlMapper
{ {
public partial class Tests : IDisposable public partial class Tests : IDisposable
{ {
SqlConnection connection; readonly SqlConnection connection;
public Tests() public Tests()
{ {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"frameworks": { "frameworks": {
"net45": { "net45": {
"compilationOptions": { "compilationOptions": {
"define": [ ], "define": [ "ASYNC" ],
"warningsAsErrors": true "warningsAsErrors": true
}, },
"frameworkAssemblies": { "frameworkAssemblies": {
...@@ -55,6 +55,9 @@ ...@@ -55,6 +55,9 @@
} }
}, },
"dnx451": { "dnx451": {
"compilationOptions": {
"define": [ "ASYNC" ]
},
"dependencies": { "dependencies": {
"xunit": "2.1.0", "xunit": "2.1.0",
"xunit.runner.dnx": "2.1.0-rc1-build204" "xunit.runner.dnx": "2.1.0-rc1-build204"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册