Mailingliste - Einträge 2006

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

Re: [qftestJUI] Run qftest with java

  • Subject: Re: [qftestJUI] Run qftest with java
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 01 Mar 2006 14:17:42 +0100

Hi Bostjan,

Bostjan Praznik <bostjan.praznik@?.si> writes:

>    Hi,
>    I would like to know if it is possible to run qftest from command
>    line using java command (e.g. ">java qftest parameters") instead of
>    running the exe file? I need it to include my tests into the code
>    coverage tool which expects the main java class as start parameter.

it's possible but far from trivial and requires quite a bit of
environment tweaking which is what the exe is there for. 

But anyway, it's not what you need. You don't want a coverage analysis
of qftestJUI itself but of your application while under test and that
application is run in a completely separate Java VM.

Simply create a script that will start your SUT with coverage enabled
and run that script from qftetJUI's "Start SUT client" node and you
should be all set.

Best regards,
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH           
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876