On Monday, 3 January 2022 at 20:47:47 UTC davi.marcon...@gmail.com wrote: > I believe it behaves this way based on what I've read here > https://mickey.dev/posts/go-build-tags-testing/ . >
Another option would be to put your integration tests into a completely separate package, and leave unit tests within their original package (without build constraints). Consider that: - integration tests may involve multiple packages (they are, after all, testing how the whole system works together) - integration tests generally treat packages as "black boxes" and are not expected to make direct access to their internals -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/54e3ebbc-54df-41db-b65f-2a40dcbd0a55n%40googlegroups.com.