That’s part of the TestRunListener defined in server script. Yes, I found that it outputs to Jython terminal, and, most importantly, to Jenkins job output log. I am not sure how is it skipping the QF-Test terminal though.
FlexTrade UK Ltd., 34th Floor, CityPoint
1 Ropemaker Street, London EC2Y 9AW
when I run your code as an SUT script I get
No handlers could be found for logger "root"
At least that's a response. Are you getting _any_ stdout from your
SUT? Depending on how the SUT is started its output may be redirected.
Try opening the Jython Terminal for the SUT. You should always get the
Jython output there.
Erik Macisevskij <Erik.Macisevskij@?.com> writes:
> I’ve been trying to use logging library with TestRunListener and it won’t log anything to stdout. I wonder if there
> are any good reasons for that?
> Default code that works with Jython 2.7:
> import logging
> log = logging.getLogger('')
> Many thanks,
> Erik Macisevskij
> FlexTrade UK Ltd., 34th Floor, CityPoint
> 1 Ropemaker Street, London EC2Y 9AW
T: +49 8171 38648-11
F: +49 8171 38648-16
Quality First Software GmbH | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833