The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter
To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.
Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog
[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