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

break run spec and exec spec into separate methods #47

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

jaypipes
Copy link
Member

@jaypipes jaypipes commented Jul 8, 2024

Cleans up the (large) Scenario.Run and runSpec methods by separating the "preparation" phase of the test spec execution from the execution itself into a different method. This allows us to clean up the manual defers and make the code more readable.

Cleans up the (large) Scenario.Run and runSpec methods by separating the
"preparation" phase of the test spec execution from the execution itself
into a different method. This allows us to clean up the manual `defer`s
and make the code more readable.

Signed-off-by: Jay Pipes <[email protected]>
@jaypipes jaypipes merged commit b2b65f2 into gdt-dev:main Jul 8, 2024
7 of 11 checks passed
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.

1 participant