Hi Sam,
> Do you know where I can find more documentation about ExecutionContext?
It is documented
here. But I'm afraid it might not be very informative. You could create as Issue for updating the docs for the same at
https://github.com/getgauge/docs.gauge.org. Maybe you could print the context to see what all the things are available or look at the code
here. If you are using java the
java docs can help you. For other languages, there are similar methods/properties according to the language semantics,.
> For Scenario status, will that be `context.status`?
There is no such field. the context has fields like `specification`, `scenario`, and `step` (the currently running one), then each the fields have fields like `name`, `filename`, `is_failing`, `tags`, `error_message` and `stacktrace` accordingly. Please look the code for more info.
> Will the suggested workaround work when the order of the Scenario is not guaranteed?
As I said earlier it's a workaround, we have not tried it. So you have to try it yourself.
IMO it’s best to avoid the workaround and make the tests independent of each other as Gauge is not built with the workaround in mind and will be unpredictable.
Thanks
Vinay