You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @go-dockly thanks for opening this feature request. I'd like to know more about this: do you envision a way to create a container in a given platform and put the workspace into it to run the tests?
Please consider that testcontainers is a developer-friendly wrapper of the Docker package, so I think what you propose could be done as a separate project (maybe a CLI) that uses tc-go as runtime, so you run your binary, say gotc (go testcontainers) like this:
gotc --platform=amd64 --goversion=1.23.1
And it would use tc-go to spin up a container in the desired flavour (go version + platform), then mount the current workspace into the container, and finally run the tests.
Problem
It would be a killer feature if we could spin up a go test container dedicated to running golang tests on different platforms.
Solution
Cherry on the cake if one could also define arch eg amd64 on arm [Rosetta emulation on macOS]
Benefit
It's obvious?
Alternatives
Not sure what would be as convenient as using go test containers for what the name suggests ;)
Would you like to help contributing this feature?
Maybe
The text was updated successfully, but these errors were encountered: