Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Sharing state fragments between non-step function #23

Closed
Gregcop1 opened this issue Apr 4, 2017 · 1 comment
Closed

Sharing state fragments between non-step function #23

Gregcop1 opened this issue Apr 4, 2017 · 1 comment

Comments

@Gregcop1
Copy link

Gregcop1 commented Apr 4, 2017

I need to share state fragments between two functions with annotation @BeforeScenario.
I can provide datas to store in the first function, but injection of datas in the second function doesn't seem to work.

  ┌─ @BeforeScenario  # V2\UserContext::buildUsers()
  │
  ╳  Warning: Missing argument 2 for V2\UserContext::buildUsers() in features/bootstrap/V2/UserContext.php line 120

@Gregcop1
Copy link
Author

Thx guys

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant