Documentation ¶ Overview ¶ Package tests contains test helpers. Index ¶ func AssertGRPCError(t testing.TB, expected *status.Status, actual error) func AssertGRPCErrorRE(t testing.TB, expectedCode codes.Code, expectedMessageRE string, actual error) func GetAWSKeys(t testing.TB) (accessKey, secretKey string) func OpenTestDB(t testing.TB) *sql.DB Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AssertGRPCError ¶ func AssertGRPCError(t testing.TB, expected *status.Status, actual error) func AssertGRPCErrorRE ¶ added in v1.5.1 func AssertGRPCErrorRE(t testing.TB, expectedCode codes.Code, expectedMessageRE string, actual error) func GetAWSKeys ¶ func GetAWSKeys(t testing.TB) (accessKey, secretKey string) GetAWSKeys returns testing AWS keys. func OpenTestDB ¶ func OpenTestDB(t testing.TB) *sql.DB Types ¶ This section is empty. Source Files ¶ View all Source files asserts.goaws.godb.go Directories ¶ Show internal Expand all Path Synopsis promtest Click to show internal directories. Click to hide internal directories.