Skip to content

test: align test patterns#351

Merged
thde merged 4 commits intomainfrom
thde/tests
Feb 11, 2026
Merged

test: align test patterns#351
thde merged 4 commits intomainfrom
thde/tests

Conversation

@thde
Copy link
Member

@thde thde commented Feb 11, 2026

This MR aligns the patterns in tests:

  1. Uses the is := require.New(t) pattern where assertion libraries are used.
  2. Runs tests in parallel where possible.
  3. Uses t.Context() instead of context.Background().
  4. Updates test.SetupClient and always pass testing.T.
  5. Adds some clarifications to error codes.

thde added 4 commits February 11, 2026 11:04
1. Uses the is := require.New(t) pattern where assertion libraries are
   used.
2. Runs tests in parallel where possible.
3. Uses t.Context() instead of context.Background().
@thde thde merged commit c23dc90 into main Feb 11, 2026
3 checks passed
@thde thde deleted the thde/tests branch February 11, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants