Forum Discussion

Ulli's avatar
Ulli
New Member
15 days ago

event handler target to exclude a specific test suite

Hi all,

in my current test project, I want an event (TestRunListener.beforeRun) to be run before each test case except of the test cases of one certain test suite.

Example:
Testsuite 1 - TestcaseA, Testcase B
Testsuite 2 - Testcase C
Testsuite Utils - Testcase Utils A, Testcase UtilsB

The event should only be executed for all Testcases except UtilsA and Utlis B.

I tried some Regexes in the target field, which resulted in the event not being executed at all.

How can this Regex be built for my purpose?

Thanks