Mailingliste - Einträge 2006

Re: [qftestJUI] 'Test call' node when the name of the test/test-suite is defined in a properties group.

Subject: Re: [qftestJUI] 'Test call' node when the name of the test/test-suite is defined in a properties group.

From: Gregor Schmid <Gregor.Schmid@?.de>

Date: 18 Oct 2006 20:00:22 +0200

Hello Adrian,
you can directly use a 'Test call' node with the Test attribute set to
${${system:user.name}:MyTest-suite}#fully.qualified.name.of.test
where the fully qualified name of the target Test-case is composed of
the names of the parent Test-set and the Test-case's name. Note that
you cannot call plain 'Test' nodes (yet?).
${${system:user.name}:MyTest-suite}#.
to run the whole target suite.
Best regards,
Greg
"Adrian Chamberlain" <Adrian.Chamberlain@?.com> writes:
> Adrian Chamberlain
> Ericsson Communications
> Beeston
> Nottingham
> UK
>
> Reference using the 'Test call' node to call a test, when the name of that
> test/test-suite file is defined in a properties group (i.e. dynamic test
> name for the 'Test call' node).
>
> For instance :-
>
> - We have a core test-suite file named 'MV38Testing.qft'
>
> - We have a properties group named ${system:user.name}. Hence, if the
> user-name were 'nmcman' then there will be a properties file named
> 'nmcman.properties'.
>
> - Within this properties group is defined 'MyTest-suite'
> i.e. MyTest-suite=MV38Benchmark.qft
>
> - From 'MV38Testing.qft' I wish to call a test within the test-suite, the
> filename for which is defined by
>
> ${${system:user.name}:MyTest-suite}
>
> i.e. 'Test call' <name of test=?> <name of test-suite
> file=${${system:user.name}:MyTest-suite}>
>
> Can this be done (i.e. using the Run-context API) and if so what would be
> the correct API call/format ?
>
> Thank you in advance for your help
> Regards
> Adrian
>
>
>
> _______________________________________________
> qftestJUI-list mailing list
> qftestJUI-list@?.de
> http://www.qfs.de/mailman/listinfo/qftestjui-list
--
Gregor Schmid Gregor.Schmid@?.de
Quality First Software GmbH http://www.qfs.de
Tulpenstr. 41 Tel: +49 8171 919870
DE-82538 Geretsried Fax: +49 8171 919876