Open alastair-todd opened 2 years ago
No, the framework currently does not support detecting which scenario is running.
Theoretically, you can write code inside your test methods to determine the scenario name, but you will have to do it in every test method.
@alastair-todd did you find a solution to this question? If not, I'll keep this open until you respond or until it's implemented.
Hey
Is there a way to infer the current scenario in the Test class constructor?
I'd like to log this to console so it can be sent to our central logs.