lewismj / cucumber

Cucumber Test Framework & Plugin for SBT (BDD Testing in Scala)
Other
41 stars 18 forks source link

@Before and accessing scenario tags #20

Closed chrisjowen closed 7 years ago

chrisjowen commented 7 years ago

Hey,

Thanks for the good work with this library, works really well. I was wondering, how would I get access to the scenario data prior to my features been run. I can see that in the cucumber JVM version there is the ability to use cucumber.annotation.Before and decorate a method but I am unsure how to do this here. I basically need to do some different pre setup depending on the tags I specify.

Cheers, Chris