La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la 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
|
1. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.