Right now, I have added a post publish build task to the TFS build description to run a batch script. The batch script is used to call the solution executable and launch the tests on a test box.
I know I can set Ranorex to publish the report somewhere, but is there a way to send a Pass/Fail result back to TFS as an overall build status?
I don't currently have Ranorex Studio integrated into TFS.
Report test status back to TFS after build?
-
- Posts: 102
- Joined: Fri Nov 08, 2019 3:23 pm
- RobinHood42
- Posts: 324
- Joined: Fri Jan 09, 2015 3:24 pm
Re: Report test status back to TFS after build?
Hey,
Probably you should ask this question in the Microsoft forum. How about using an exit code of the test executable and use it as a return value for your batch file?
https://stackoverflow.com/questions/205 ... ript-fails
Cheers,
Robin
Probably you should ask this question in the Microsoft forum. How about using an exit code of the test executable and use it as a return value for your batch file?
https://stackoverflow.com/questions/205 ... ript-fails
Cheers,
Robin
-
- Posts: 102
- Joined: Fri Nov 08, 2019 3:23 pm
Re: Report test status back to TFS after build?
Oh hey, that looks like it would work. Awesome, thanks a lot!