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

Ensure test project cleanup #1024

Merged
merged 1 commit into from
Jun 30, 2022
Merged

Ensure test project cleanup #1024

merged 1 commit into from
Jun 30, 2022

Conversation

vinistock
Copy link
Member

Motivation

When errors occurred, some tests weren't doing the appropriate project cleanup, resulting in hard to read failures.

Tests

Move cleanup to an after block to guarantee that it happens regardless of errors.

Co-authored-by: Alexandre Terrasa <Morriar@users.noreply.github.com>
Co-authored-by: Rafael França <rafaelfranca@users.noreply.github.com>
Co-authored-by: Ryan Brushett <RyanBrushett@users.noreply.github.com>
Co-authored-by: Kaan Ozkan <KaanOzkan@users.noreply.github.com>
@vinistock vinistock requested a review from a team June 30, 2022 17:51
@vinistock vinistock self-assigned this Jun 30, 2022
@vinistock vinistock merged commit b3c448b into main Jun 30, 2022
@vinistock vinistock deleted the vs/ensure_test_cleanup branch June 30, 2022 19:55
@shopify-shipit shopify-shipit bot temporarily deployed to production July 7, 2022 17:53 Inactive
@shopify-shipit shopify-shipit bot temporarily deployed to 0-9-stable August 19, 2022 20:37 Inactive
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.

None yet

3 participants