List Icon
Archive de la liste de diffusion

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 

our obtenir des informations à jour sur chaque version - y compris les versions mineures - vous pouvez
nous pouvez vous abonner au flux RSS ou nous suivre sur les médias sociaux.
Alternativement, QF-Test fournit également des informations sur la version elle-même.

Une autre source d'information est notre blog, qui contient des articles actuels sur des thèmes généraux, sur l'entreprise QFS et aussi divers "how-tos", veuillez vous
ABonner au Blog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Option to configure compact run log in Daemon Mode

  • Subject: Re: [QF-Test] Option to configure compact run log in Daemon Mode
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Mon, 25 Jan 2016 16:37:20 +0100

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,

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 |
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833