我在Jenkins中运行specflow测试,每次测试处于挂起状态时/ Ignored / Inconclusive它使整个测试套件失败(如Red Jenkins构建)。如何消除这种情况并使Jenkins构建成绿色?
注意: - 我们正在jenkins中使用Cmdline执行测试,结果如下。
@pushd %~dp0
%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe "******".Tests.csproj"
@if ERRORLEVEL 1 goto end
@cd ..\packages\SpecRun.Runner.*\tools
@set profile=%1
@if "%profile%" == "" set profile=Default
SpecRun.exe run %profile%.srprofile "/baseFolder:%~dp0\bin\Debug" /log:specrun.log /filter:%2 /report:TestResults\%3
:end
@popd
我们有什么与错误级别有关吗?
任何帮助都将不胜感激。