eclipse / kiso-testing

https://kiso-testing.readthedocs.io/
Other
38 stars 42 forks source link

multiple execution if file pattern is provided #404

Closed Pog3k closed 10 months ago

Pog3k commented 10 months ago

Preconditions:

An ITF test suite

Steps to reproduce:

A yaml file configuration that has several suite_dir: listed under test_suite_list:

When calling pykiso, add a test filter pattern with the -p flag which narrows down to only one test to run. 

Observed behaviour:

The one test that should be run is executed as many times as there are - suite_dir: listed under test_suite_list: in the .yaml file 

( Note: only one of these -suite_dir: has a test_filter_pattern which matches with the test that should be executed )

Expected behaviour:

The test should only be run once.