Closed metaph3r closed 2 years ago
CICDTT_Run_UFT_Test_37.log Testlog with rerun and exit code 0
CICDTT_Run_UFT_Test_19.log Testlog without rerun and exit code -1
Thank you for raising the issue. We are now investigating the root cause and will update later.
The exit code problem is fixed in v1.0 beta (rev.9). Please down the FTToolsLauncher v1.0.29.221.
Tool FTToolsLauncher_net48 v1.0.23.2025 (v1.0 beta (rev.7))
Describe the bug If a test fails when run with FTToolsLauncher it quits with exit code -1. This signals the CI/CD-Tool (TeamCity) in this case there was an error which can then in turn be used to define the following build steps. The the build itself will than finish as failed which is expected bahavior.
But if Reruns is used, a test fails and then fails again in the rerun the FTToolsLauncher will quit with exit code 0 which signals that the step was successful.
To Reproduce Steps to reproduce the behavior:
Expected behavior If at least 1 tests fails and fails again in its rerun the exit code should be -1. Only if all tests succeed after a rerun the exit code should be 0.
Log
fttoolslauncher.conf