Skip to content

Sharing state across different feature files #1078

Answered by badeball
AkaFroe asked this question in Q&A
Discussion options

You must be logged in to vote

The context is thrown away between feature files / specs and this is the case preprocessor or not. You can eg. use tasks to persist / maintain state in a plugin. However, sharing context between feature files sounds like a horrendously bad idea (well-established anti-pattern).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AkaFroe
Comment options

Answer selected by AkaFroe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants