acceptance-testing icon indicating copy to clipboard operation
acceptance-testing copied to clipboard

Var ROBOT_DEBUG_COMPLETION to allow completion tests to print to console

Open marckhouzam opened this issue 4 years ago • 2 comments

ROBOT only gives the tester access to the logs at the very end of the test run. When developping, this can be annoying. This change, admittedly a hack, allows to debug the completion tests more easily, by running them outside of ROBOT.

marckhouzam avatar Nov 18 '19 00:11 marckhouzam

Hi @jdolitsky. Would you have any better idea on how to ease development using ROBOT? I find it very limiting that the logs only become available at the very end of the test run.

This PR hacks a debug variable for the completion tests to run them outside ROBOT so that I can see the logs printed live. I'd love a more elegant solution if there is one, but I couldn't find any easy way to have ROBOT print its logs live.

marckhouzam avatar Nov 18 '19 00:11 marckhouzam

@marckhouzam im not sure - my only thing i would recommend is to make the individual shell tests more closely part of robot vs. just running the script you've put together.

jdolitsky avatar Nov 22 '19 23:11 jdolitsky