How to filter test files using custom metadata in QAF?

I am using QAF for my automation project. I have specific project metadata that has the SMOKE group, regression, P1, and an author named x, y, z.

SCENARIO: SampleTest
META-DATA: {"description":"Sample Test Scenario","groups":["SMOKE"],"author":["x"]}

    #TODO: call test steps
END

I want to start only the "smoke" group and the author using "x" or "y". Is there a solution for them?

+4
source share
1 answer

You can use the properties includeor exclude, referring to here . For instance:

include= {'author': ['x']}

x. .

+1

Source: https://habr.com/ru/post/1658160/


All Articles