In the Go ecosystem, testing with the real thing is preferred, but it became time-consuming with the growing codebase.
Defined test categories: Unit Tests, Integration Tests, and End-to-End (E2E) Tests for different testing purposes.
Initially used environment variables for different test categories but faced issues. Then tried regex in test names but had problems in a monorepo.
The final solution was to use Go-Native Prefix Naming: TestUnit_ for fast, isolated tests and TestIntegration_ for cross-package/dependency tests, enabling faster local runs, clear intent, simplified CI, and IDE compatibility.