spec icon indicating copy to clipboard operation
spec copied to clipboard

Clarification on trigger for testCases

Open thompson-tomo opened this issue 7 months ago • 2 comments

The documentation for test cases includes a trigger property however the description talks about testSuiteRun. After thinking about it the trigger property makes more sense to be a property on testSuiteRun this way it is clear what it's scope is.

thompson-tomo avatar Jun 08 '25 16:06 thompson-tomo

I'm curious, how do you use "trigger"?

davidB avatar Jun 10 '25 14:06 davidB

For me a trigger leads to a test suite being run. That matches the description of the property on the testSuiteRun events

What triggered this testSuiteRun

It doesn't however seem to fit on the testCaserun object which is why I am wondering if it should be a property on the testSuiteRun object

thompson-tomo avatar Jun 11 '25 04:06 thompson-tomo