Forum Discussion

juanatns's avatar
juanatns
Frequent Visitor
3 years ago

TestRunner shows everything as passed when the test step fails locally

We have a script that has several assertions  or explicit commands to set the testcase as failed within an IF validation.

When we execute the project locally, everything works correctly and the test steps / tesdt cases are shown as failed, however

when we use the test runner to create the command line to execute the test suites in the project, everything appears as passed with

0 fails.

The script stopps executing when the fals occurs, however the command prompt shows no fails.

 

This is the command line that is generated by the testrunner

C:\Program Files\SmartBear\ReadyAPI-3.30.0\bin\testrunner.bat" -r -a -j -f${WORKSPACE} "-RJUnit-Style HTML Report" -FXML "-EDefault environment" "H:\git\o2c\Multiple trips Jenkins.xml"

No RepliesBe the first to reply