The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [QF-Test] Option to configure compact run log in Daemon Mode
Hello Werner, upps, I'm sorry, my answer wasn't correct. First, as you noted, it's indeed -compact, not -compactlog. Second, after studying the code a bit more closely, -compact is used for batch execution mode only, it is ignored in daemon mode. As there is no way (yet) to set an option on the command line, you'll either have to provide a dedicated system configuration file, that you can specify with -systemcfg or use the (more complex) method of running a dedicated test as suggested in my previous mail. The ability of specifying this option as a parameter to runTest would have been a good idea. I'll make a not for when we update the daemon API but that's not on the immediate roadmap. Best regards, Greg Feil Werner <werner.feil@?.ch> writes: > Hello Greg, > > so it is my understanding that > - I always get a compactified run log if the option -compact is defined on the command line > - it depends on the option settings if the option -compact is NOT defined on the command line > > But is it possible to define an option on the command line so that I > always get a run-log with full content independent of the option > settings? > > Best regards, > Werner > > -----Ursprüngliche Nachricht----- > Von: Gregor Schmid [mailto:Gregor.Schmid@?.de] > Gesendet: Montag, 25. Januar 2016 15:09 > An: qftest-list@?.de > Cc: Feil Werner > Betreff: Re: [QF-Test] Option to configure compact run log in Daemon Mode > > > Hello Werner, > > whether run-logs are created with compact or full content initially > depends on the option settings and the command line for daemon > startup, specifically on whether -compactlog is defined or not. > > You cannot switch between the two setting during one test-run or via > an argument to the runTest method, but you can change the setting for > the next test-run by running a simple test-suite with a Test that > holds a 'Server script' with > > rc.setOption(Options.OPT_LOG_CONTENT_COMPACT, true/false) > > Best regards, > Greg > > Feil Werner <werner.feil@?.ch> writes: > >> Hi, >> >> when running tests in Daemon Mode using the Daemon API I sometimes get >> a compactified run log and sometimes I get a full run log. >> >> My question: >> >> Is there any way to configure the type of run log (compact or full >> content) when using the Daemon API? >> >> Is there any property which can be provided to the optional second >> parameter of the method runTest (String test, Properties bindings=None) to achieve this? >> >> Thanks >> >> Werner -- Gregor Schmid E: gregor.schmid@?.de 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