Skip to content

Remove testify dependency#6

Merged
janpfeifer merged 1 commit intomainfrom
remove-testify-dependency
Dec 2, 2025
Merged

Remove testify dependency#6
janpfeifer merged 1 commit intomainfrom
remove-testify-dependency

Conversation

@google-labs-jules
Copy link
Contributor

Removed all dependencies on github.com/stretchr/testify from the codebase.
Converted all tests using require and assert to use standard Go if statements and t.Errorf or t.Fatalf.
Verified that all tests pass using go test ./....


PR created automatically by Jules for task 18374357977885393267 started by @janpfeifer

Replaced all usages of `github.com/stretchr/testify/assert` and `github.com/stretchr/testify/require` with standard Go `testing` package checks and `reflect.DeepEqual`.

This change allows running tests without external test dependencies.

Files updated:
- internal/utils/set_test.go
- shapeinference/convolve_test.go
- shapeinference/shapeinference_test.go
- stablehlo_test.go
- tests/gopjrt/collective_test.go
- tests/gopjrt/gopjrt_test.go
- tests/gopjrt/shardy_test.go
- types/shapes/shapes_test.go
- types/shapes/stablehlo_test.go
- types/shardy/devicemesh_test.go
- types/shardy/shardingspec_test.go
- go.mod
- go.sum
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

@janpfeifer janpfeifer marked this pull request as ready for review December 2, 2025 18:01
@janpfeifer janpfeifer merged commit c3a8a90 into main Dec 2, 2025
1 check passed
@janpfeifer janpfeifer deleted the remove-testify-dependency branch December 2, 2025 18:11
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