2018 up to now | 2017 | 2016 | 2015 | 2014 | 2013 | 2012

Mailing List - Entries of 2012


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

Re: [QF-Test] Data Driver question


  • Subject: Re: [QF-Test] Data Driver question
  • From: "Hunt,Chuck" <CHUNT1@?.COM>
  • Date: Mon, 21 May 2012 15:09:44 -0500

OK.  What if each Test Case has its own data file?

-----Original Message-----
From: Gregor Schmid [mailto:Gregor.Schmid@?.de] 
Sent: Friday, May 18, 2012 2:45 PM
To: qftest-list@?.de
Cc: Ivan Boelle; Hunt,Chuck
Subject: Re: [QF-Test] Data Driver question


Hi Ivan, Chuck,

that's indeed a good way to achieve what Chuck asked. I'd just like to add that you can shorten this to

-Test-Suite
--TestSet 1
----Data driver 1
------Data table for outer loop
------Data table for inner loop
----Test case A
----Test case B

i.e you can have more than one level of iteration in a single data driver.

Best regards,
    Greg

Ivan Boelle <ivan.boelle@?.com> writes:

> You can achieve this by doing something like this:
>
> -Test-Suite
> --TestSet 1
> -- Data driver 1
> ----TestSet 2
> ---- Data driver 2
> ------Test case A
> ------Test case B
>
> -> TestSet1 contains TestSet2 which contains TestCases
>
> Both Test A and B will be run using data from both drivers.
> If driver 1 has 2 rows and driver 2 has 3 rows then there will be 6 iterations.
> IE: each possible combination Will be run
>
> Le 18 mai 2012 à 19:25, "Hunt,Chuck" <CHUNT1@?.com> a écrit :
>
>     Is it possible to have 2 data drivers?  One with 5 rows for 5 iterations and one with 1 row
>     that will be re-used each of the 5 iterations.
>    
>      
>    
>     Chuck Hunt
>    
>      
>    
>     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
>     CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation
>     and are intended only for the addressee. The information contained in this message is
>     confidential and may constitute inside or non-public information under international, federal,
>     or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of
>     such information is strictly prohibited and may be unlawful. If you are not the addressee,
>     please promptly delete this message and notify the sender of the delivery error by e-mail or
>     you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.

-- 
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                               Tel: +49 8171 38648-0
DE-82538 Geretsried                         Fax: +49 8171 3864816
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833

----------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.