Skip to content

Put the entire test suite inside a top-level @testset #34

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

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Put the entire test suite inside a top-level @testset #34

merged 1 commit into from
Jan 17, 2025

Conversation

DilumAluthge
Copy link
Member

This PR makes three changes:

  1. Create a top-level @testset.
  2. Put the entire test suite inside the top-level @testset.
  3. Indent all of the code inside the @testset.

When reviewing this PR, I recommend checking the "Hide whitespace" checkbox in the GitHub PR diff view. Otherwise, all the lines from change 3 above will clutter the diff, despite the fact that the only change on those lines is whitespace (indentation).

Motivation

Before this PR: if a single @test fails, no subsequent tests will be run.

After this PR: if a single @test fails, the subsequent tests will still be run.

@DilumAluthge DilumAluthge marked this pull request as ready for review January 16, 2025 23:10
@DilumAluthge
Copy link
Member Author

@kleinhenz This PR is ready for review now.

@kleinhenz kleinhenz merged commit 8c5a426 into JuliaParallel:master Jan 17, 2025
4 checks passed
@DilumAluthge DilumAluthge deleted the dpa/testset branch January 26, 2025 23:00
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.

2 participants