Is there a way to detect the chosen execution type at run-time, i.e. parallel or sequential?
Use case: I have 2 test suites that I cannot run in parallel, so I created some hierarchy with setup scripts to listen for the first test case to finish before I start with the second. This allows me to run my collection in parallel. I’d like to see how much time I gained by doing this, so I want my scripts on the hierarchy only to be activated when I run in parallel. When I run sequential I don’t need to activate them.
Is there a way to achieve this?
Thanks in advance.