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] [QF-Test] [QFTest] - How to filter Test-cases for test execution
Hi everyone, > 1- Ability to set label(s) or tag(s) on each Test-case Simply add the following statement to the condition-attribute of your Test-sets/Test-cases: len(set(rc.lookup("testsToExecute", None, False).split(";")).intersection(set(["label1", "label2", "label3", "label4"]))) > 0 (and replace the "label1", "label2" ... strings by the wanted labels) > 2- When launching QF-Test in command line, ability to specify one or more label(s) Call qftest via: qftest -variable testsToExecute=label1;label2 now, a test-case/test-set only gets executed when the test-case/test-set contains at least one label that has been passed via command-line. In case no variable testsToExecute is given (either over command-line or set manually afterwards) an exception will be thrown. Greetings & Happy testing, Yann Am 11.06.2018 um 10:03 schrieb Sophie Do Khac: Hello all, For our application, we have created severalTest-suites and in eachTest-suite we have severalTest-cases. Today the execution time of allTest-suites reaches a maximum. So, we would like not to run allTest-suites andTest-cases each time we have to validate a new change in our application. Instead we would like to run onlyTest-cases ofTest-suites functionally linked to the change (risk analysis). I have in mind a process in 2 steps: 1- Ability to set label(s) or tag(s) on eachTest-case 2- When launchingQFTestin command line, ability to specify one or more label(s) (with operators AND and OR) andQFTestonly executesTest-cases matching the label condition I've read theQFTestmanual and I don't find any way to reply to my need. Do you have any idea to help me? Thanks a lot in advance, Sophie -- _______________________________________________________________ Get the most out of QF-Test - Support directly from the authors * Training & consulting: www.qfs.de/en/qftest/training.html * Phone & email support: www.qfs.de/en/qftest/support.html _______________________________________________________________ Yann Felix Spöri Support E: support@?.de T: +49 8171 38648-20 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.