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

create a fresh World instance for every retry #1253

Merged
merged 1 commit into from Nov 11, 2019
Merged

Conversation

davidjgoss
Copy link
Contributor

Fixes #1248

Moved the creation of the World into the method that resets the state before each attempt. In doing so, needed to turn a couple of local variables from the constructor into instance fields.

@charlierudolph charlierudolph merged commit 96d6615 into master Nov 11, 2019
@charlierudolph charlierudolph deleted the bugfix/1248 branch November 11, 2019 04:58
@charlierudolph
Copy link
Member

Nice! Good looking tests! Will do a release now as this seems important for anyone using retry

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

Successfully merging this pull request may close these issues.

World is not re-constructed after each scenario attempt
3 participants