plugin: unclear how to reference a package under test from a plugin #37618
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Testing interactions between a plugin and a package under test is complicated.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Tried to reference the package being tested by
go test
from a plugin. It's unclear how to do this, and thus how to test interactions between plugins and packages being tested.Reproduction is here:
https://github.com/gonzojive/go_example_failed_plugin_test
What did you expect to see?
All tests should pass
What did you see instead?
The text was updated successfully, but these errors were encountered: