Skip to content

Conversation

@broothie
Copy link
Owner

Summary

  • Converted all test files from using broothie/test to stretchr/testify
  • Replaced test assertions with assert.* functions for standard assertions
  • Used require.* functions for must-pass conditions that should halt test execution
  • Updated go.mod and go.sum dependencies
  • Maintained all existing test logic and behavior

Test plan

  • Run go test ./... to ensure all tests pass
  • Verify no functionality has changed, only the testing library

🤖 Generated with Claude Code

- Replace all instances of broothie/test with stretchr/testify
- Use assert.* for test assertions and require.* for must-pass conditions
- Update go.mod and go.sum to remove broothie/test dependency and add testify
- Maintain existing test logic and behavior

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Jun 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.54%. Comparing base (41ddddc) to head (ba41ae7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage   75.54%   75.54%           
=======================================
  Files          17       17           
  Lines         687      687           
=======================================
  Hits          519      519           
  Misses        122      122           
  Partials       46       46           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

broothie and others added 2 commits June 28, 2025 23:02
…or Must functions

- Convert most require.NoError back to assert.NoError
- Keep require.NoError only for the original test.MustNoError call
- Maintain proper distinction between assertions and requirements

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@broothie broothie merged commit 13663be into main Jun 29, 2025
5 checks passed
@broothie broothie deleted the refactor/convert-to-testify branch June 29, 2025 06:08
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