Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scenario outlines don't set state properly #73

Closed
marnen opened this issue Nov 26, 2016 · 4 comments
Closed

Scenario outlines don't set state properly #73

marnen opened this issue Nov 26, 2016 · 4 comments
Labels

Comments

@marnen
Copy link
Contributor

marnen commented Nov 26, 2016

I'm using scenario outlines in White-Bread 2.8.1, and it appears that unlike straight scenarios, the scenario_starting_state hook never sets the scenario starting state for outlines. Is there another hook I should be using for this purpose, or is this a bug?

@meadsteve
Copy link
Collaborator

@marnen this sounds like a bug. My intention was that scenario_starting_state would be called for each scenario as part of the outline.

@meadsteve meadsteve added the bug label Nov 28, 2016
@marnen
Copy link
Contributor Author

marnen commented Dec 3, 2016

Good to know. I'll try to fix it (although I'm a total beginner in Elixir...).

marnen added a commit to marnen/white-bread that referenced this issue Dec 4, 2016
marnen added a commit to marnen/white-bread that referenced this issue Dec 4, 2016
marnen added a commit to marnen/white-bread that referenced this issue Dec 4, 2016
marnen added a commit to marnen/white-bread that referenced this issue Dec 4, 2016
marnen added a commit to marnen/white-bread that referenced this issue Dec 4, 2016
marnen added a commit to marnen/white-bread that referenced this issue Dec 4, 2016
@marnen
Copy link
Contributor Author

marnen commented Dec 4, 2016

I think #76 will do the trick.

marnen added a commit to marnen/white-bread that referenced this issue Dec 4, 2016
marnen added a commit to marnen/white-bread that referenced this issue Dec 4, 2016
meadsteve pushed a commit that referenced this issue Dec 4, 2016
…76)

* Add basic scenario testing outline functionality. [#73]

* Load starting state in scenario outlines. [#73]

* Verify that we reload the starting state for each example. [#73]

* Fix failing test. [#73]

* Extract a utility module for duplication. [#73]

* Update changelog. [#73]

* Reorganize directories so white_bread doesn't get confused about which context to use. [#73]

* Make tests compatible with Elixir 1.1. [#73]
@meadsteve
Copy link
Collaborator

This will be fixed thanks to #76. It will be released in the pending 3.x release.
I hope to have this release out for the end of the year (family life dependant).

meadsteve pushed a commit that referenced this issue Dec 5, 2016
…76)

* Add basic scenario testing outline functionality. [#73]

* Load starting state in scenario outlines. [#73]

* Verify that we reload the starting state for each example. [#73]

* Fix failing test. [#73]

* Extract a utility module for duplication. [#73]

* Update changelog. [#73]

* Reorganize directories so white_bread doesn't get confused about which context to use. [#73]

* Make tests compatible with Elixir 1.1. [#73]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants