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-*",
|
"version": "1.0.0-*",
|
||||||
|
|
||||||
"compilationOptions": {
|
"compilationOptions": {
|
||||||
"warningsAsErrors": true,
|
"warningsAsErrors": true,
|
||||||
"emitEntryPoint": true
|
"emitEntryPoint": true
|
||||||
},
|
},
|
||||||
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNetCore.Localization": "1.0.0-*",
|
"Microsoft.AspNetCore.Localization": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
|
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
|
||||||
|
|
@ -13,15 +11,15 @@
|
||||||
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
|
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
|
||||||
"Microsoft.NETCore.Platforms": "1.0.1-*"
|
"Microsoft.NETCore.Platforms": "1.0.1-*"
|
||||||
},
|
},
|
||||||
|
|
||||||
"commands": {
|
|
||||||
"web": "LocalizationWebsite"
|
|
||||||
},
|
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
"dnxcore50": {
|
||||||
"dnxcore50": { }
|
"dependencies": {
|
||||||
|
"dotnet-test-xunit": "1.0.0-dev-*"
|
||||||
|
},
|
||||||
|
"imports": "portable-net451+win8"
|
||||||
|
},
|
||||||
|
"dnx451": {}
|
||||||
},
|
},
|
||||||
|
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"wwwroot",
|
"wwwroot",
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
|
@ -34,4 +32,4 @@
|
||||||
"**.user",
|
"**.user",
|
||||||
"**.vspscc"
|
"**.vspscc"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -2,9 +2,6 @@
|
||||||
"compilationOptions": {
|
"compilationOptions": {
|
||||||
"warningsAsErrors": true
|
"warningsAsErrors": true
|
||||||
},
|
},
|
||||||
"commands": {
|
|
||||||
"test": "xunit.runner.aspnet"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNetCore.Server.Testing": "1.0.0-*",
|
"Microsoft.AspNetCore.Server.Testing": "1.0.0-*",
|
||||||
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
|
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
|
||||||
|
|
@ -12,9 +9,12 @@
|
||||||
"xunit.runner.aspnet": "2.0.0-aspnet-*"
|
"xunit.runner.aspnet": "2.0.0-aspnet-*"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": { },
|
|
||||||
"dnxcore50": {
|
"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.Localization": "1.0.0-*",
|
||||||
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
|
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
|
||||||
"Microsoft.NETCore.Platforms": "1.0.1-*",
|
"Microsoft.NETCore.Platforms": "1.0.1-*",
|
||||||
"xunit": "2.1.0-*",
|
"xunit": "2.1.0-*"
|
||||||
},
|
},
|
||||||
"testRunner": "xunit",
|
"testRunner": "xunit",
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
|
"dnxcore50": {
|
||||||
|
"imports": "portable-net451+win8",
|
||||||
|
"dependencies": {
|
||||||
|
"dotnet-test-xunit": "1.0.0-dev-*"
|
||||||
|
}
|
||||||
|
},
|
||||||
"dnx451": {
|
"dnx451": {
|
||||||
"frameworkAssemblies": {
|
"frameworkAssemblies": {
|
||||||
"System.Runtime": "",
|
"System.Runtime": "",
|
||||||
|
|
@ -18,15 +24,6 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"xunit.runner.console": "2.1.0"
|
"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-*"
|
"xunit.runner.aspnet": "2.0.0-aspnet-*"
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"dnx451": {
|
|
||||||
"dependencies": {
|
|
||||||
"Moq": "4.2.1312.1622"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"dnxcore50": {
|
"dnxcore50": {
|
||||||
"imports": "portable-net451+win8",
|
"imports": "portable-net451+win8",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"moq.netcore": "4.4.0-beta8",
|
"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