-
Notifications
You must be signed in to change notification settings - Fork 36
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
Run scenario setup for outlines just like we do for simple scenarios #76
Run scenario setup for outlines just like we do for simple scenarios #76
Conversation
Ah, I see that Travis isn't happy. Let me fix those issues. |
There we go. Travis likes it now. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marnen I just merged an earlier PR that touched some of the same code. There's now a few conflicts. If you wouldn't mind fixing those.
But otherwise the code looks 👍 ❤️ and I appreciate you putting the time in to this.
@@ -0,0 +1,5 @@ | |||
defmodule WhiteBread.Runners.Utilities do | |||
def apply_scenario_starting_state(feature_state, context) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice idea. I like this being extracted 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! There's probably more duplication that could be reduced.
Conflicts: lib/white_bread/runners/scenario_outline_runner.ex
I resolved the merge conflicts. Possibly even correctly. :D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
…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]
This fixes the bug described in #73.