I'm using cucumber to generate test scripts that can be executed by a tool or human… so not the standard use.
However I would like to pass through the scenario and example names through to my output.
Is this possible?
cucumber
I'm using cucumber to generate test scripts that can be executed by a tool or human… so not the standard use.
However I would like to pass through the scenario and example names through to my output.
Is this possible?
Best Solution
Found it.. (with some help from Tim Walker)
Your SExpression may differ, so it's worth doing a
scenario.to_sexp.inspect
to see what that tree is.Aslak is keen to avoid exposing properties on his classes (which is a decision I happen to agree with, so I'm happy to do this work around).