Suite package: what would you want in a redesigned suite? #75
fredbi
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Context
When we forked stretchr/testify into go-openapi/testify/v2, we removed the suite package along with mock. The reasons were
primarily about technical debt:
That said, we recognize that suites solve a real problem. Setup/teardown lifecycle management matters, especially for
integration tests that need database connections, HTTP servers, temporary files, or other shared resources.
What we're not bringing back
The old suite.Suite struct with its reflection-based test discovery and Run method. That design carried most of the debt.
What we're open to exploring
A lightweight, modern approach that:
We don't have a design yet, and that's intentional. We'd rather hear from you first.
What we'd like to know
the full suite ceremony.
No promises on timeline or scope. We want to understand the demand and the shape of the problem before committing to anything.
Beta Was this translation helpful? Give feedback.
All reactions