Enable tests to run using dotnet xunit runner
This commit is contained in:
parent
81ef98b7d5
commit
43fd4c465f
|
|
@ -1,11 +1,9 @@
|
|||
{
|
||||
"version": "1.0.0-*",
|
||||
|
||||
"compilationOptions": {
|
||||
"warningsAsErrors": true,
|
||||
"emitEntryPoint": true
|
||||
},
|
||||
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Localization": "1.0.0-*",
|
||||
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
|
||||
|
|
@ -13,15 +11,15 @@
|
|||
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
|
||||
"Microsoft.NETCore.Platforms": "1.0.1-*"
|
||||
},
|
||||
|
||||
"commands": {
|
||||
"web": "LocalizationWebsite"
|
||||
},
|
||||
"frameworks": {
|
||||
"dnx451": { },
|
||||
"dnxcore50": { }
|
||||
"dnxcore50": {
|
||||
"dependencies": {
|
||||
"dotnet-test-xunit": "1.0.0-dev-*"
|
||||
},
|
||||
"imports": "portable-net451+win8"
|
||||
},
|
||||
"dnx451": {}
|
||||
},
|
||||
|
||||
"exclude": [
|
||||
"wwwroot",
|
||||
"node_modules",
|
||||
|
|
@ -34,4 +32,4 @@
|
|||
"**.user",
|
||||
"**.vspscc"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -2,9 +2,6 @@
|
|||
"compilationOptions": {
|
||||
"warningsAsErrors": true
|
||||
},
|
||||
"commands": {
|
||||
"test": "xunit.runner.aspnet"
|
||||
},
|
||||
"dependencies": {
|
||||
"Microsoft.AspNetCore.Server.Testing": "1.0.0-*",
|
||||
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
|
||||
|
|
@ -12,9 +9,12 @@
|
|||
"xunit.runner.aspnet": "2.0.0-aspnet-*"
|
||||
},
|
||||
"frameworks": {
|
||||
"dnx451": { },
|
||||
"dnxcore50": {
|
||||
"imports": "portable-net451+win8"
|
||||
}
|
||||
"imports": "portable-net451+win8",
|
||||
"dependencies": {
|
||||
"dotnet-test-xunit": "1.0.0-dev-*"
|
||||
}
|
||||
},
|
||||
"dnx451": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6,10 +6,16 @@
|
|||
"Microsoft.AspNetCore.Localization": "1.0.0-*",
|
||||
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
|
||||
"Microsoft.NETCore.Platforms": "1.0.1-*",
|
||||
"xunit": "2.1.0-*",
|
||||
"xunit": "2.1.0-*"
|
||||
},
|
||||
"testRunner": "xunit",
|
||||
"frameworks": {
|
||||
"dnxcore50": {
|
||||
"imports": "portable-net451+win8",
|
||||
"dependencies": {
|
||||
"dotnet-test-xunit": "1.0.0-dev-*"
|
||||
}
|
||||
},
|
||||
"dnx451": {
|
||||
"frameworkAssemblies": {
|
||||
"System.Runtime": "",
|
||||
|
|
@ -18,15 +24,6 @@
|
|||
"dependencies": {
|
||||
"xunit.runner.console": "2.1.0"
|
||||
}
|
||||
},
|
||||
"dnxcore50": {
|
||||
"imports": "portable-net451+win8",
|
||||
"dependencies": {
|
||||
"xunit.runner.aspnet": "2.0.0-aspnet-*"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"test": "xunit.runner.aspnet"
|
||||
}
|
||||
}
|
||||
|
|
@ -11,20 +11,18 @@
|
|||
"xunit.runner.aspnet": "2.0.0-aspnet-*"
|
||||
},
|
||||
"frameworks": {
|
||||
"dnx451": {
|
||||
"dependencies": {
|
||||
"Moq": "4.2.1312.1622"
|
||||
}
|
||||
},
|
||||
"dnxcore50": {
|
||||
"imports": "portable-net451+win8",
|
||||
"dependencies": {
|
||||
"moq.netcore": "4.4.0-beta8",
|
||||
"System.Resources.Writer": "4.0.0-*"
|
||||
"System.Resources.Writer": "4.0.0-*",
|
||||
"dotnet-test-xunit": "1.0.0-dev-*"
|
||||
}
|
||||
},
|
||||
"dnx451": {
|
||||
"dependencies": {
|
||||
"Moq": "4.2.1312.1622"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"test": "xunit.runner.aspnet"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue