Open ghost opened 1 year ago
spanner/integration_test.go is in package spanner. As a result, it can access package-visible members which may not be visible to public. The integration tests should use the public API only to mimic client app behaviour.
spanner
https://github.com/googleapis/google-cloud-go/pull/8923 is an example of a bug that wouldn't have happened if the tests were in a package other than spanner.
@rahul2393 Can you please triage this issue
Tagged as a feature request for rotation triaging. Feel free to change.
Accidentally closed, apologies, reopened.
spanner/integration_test.go is in package
spanner
. As a result, it can access package-visible members which may not be visible to public. The integration tests should use the public API only to mimic client app behaviour.https://github.com/googleapis/google-cloud-go/pull/8923 is an example of a bug that wouldn't have happened if the tests were in a package other than
spanner
.