Enabled tests to run in dotnet xunit runner

This commit is contained in:
Kiran Challa 2016-02-05 16:13:30 -08:00
parent 44905b6b8b
commit c00a2de2c7
2 changed files with 13 additions and 16 deletions

View File

@ -28,12 +28,11 @@ IF NOT EXIST %NUGET_PATH% (
copy %CACHED_NUGET% %NUGET_PATH% > nul copy %CACHED_NUGET% %NUGET_PATH% > nul
) )
IF NOT EXIST %KOREBUILD_FOLDER% (
SET KOREBUILD_DOWNLOAD_ARGS= SET KOREBUILD_DOWNLOAD_ARGS=
IF NOT "%KOREBUILD_VERSION%"=="" ( IF NOT "%KOREBUILD_VERSION%"=="" (
SET KOREBUILD_DOWNLOAD_ARGS=-version %KOREBUILD_VERSION% SET KOREBUILD_DOWNLOAD_ARGS=-version %KOREBUILD_VERSION%
) )
IF NOT EXIST %KOREBUILD_FOLDER% (
%BUILD_FOLDER%\nuget.exe install KoreBuild-dotnet -ExcludeVersion -o %BUILD_FOLDER% -nocache -pre %KOREBUILD_DOWNLOAD_ARGS% %BUILD_FOLDER%\nuget.exe install KoreBuild-dotnet -ExcludeVersion -o %BUILD_FOLDER% -nocache -pre %KOREBUILD_DOWNLOAD_ARGS%
) )

View File

@ -8,10 +8,14 @@
"xunit": "2.1.0" "xunit": "2.1.0"
}, },
"testRunner": "xunit", "testRunner": "xunit",
"commands": {
"test": "xunit.runner.aspnet"
},
"frameworks": { "frameworks": {
"dnxcore50": {
"dependencies": {
"dotnet-test-xunit": "1.0.0-dev-*",
"Microsoft.NETCore.Platforms": "1.0.1-*"
},
"imports": "portable-net451+win8"
},
"dnx451": { "dnx451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Threading.Tasks": "" "System.Threading.Tasks": ""
@ -19,12 +23,6 @@
"dependencies": { "dependencies": {
"xunit.runner.console": "2.1.0" "xunit.runner.console": "2.1.0"
} }
},
"dnxcore50": {
"dependencies": {
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},
"imports": "portable-net451+win8"
} }
} }
} }