Documentation ¶
Index ¶
Constants ¶
View Source
const EnvVarAcceptanceTests = "APPROZIUM_ACC"
Variables ¶
This section is empty.
Functions ¶
func ShouldRunAcceptanceTests ¶
func ShouldRunAcceptanceTests() bool
func TestLogger ¶
Types ¶
type AwsEnv ¶
type AwsEnv struct {
// contains filtered or unexported fields
}
This allows us to only get the signedGetCallerIdentity string once, but to reuse it throughout tests through the testEnv variable, reducing load on AWS.
func (*AwsEnv) ClaimedArn ¶
type TestResponseWriter ¶
type TestResponseWriter struct { HeaderToReturn http.Header LastWriteInputReceived []byte WriteIntToReturn int WriteErrToReturn error LastStatusCodeReceived int }
func (*TestResponseWriter) Header ¶
func (t *TestResponseWriter) Header() http.Header
func (*TestResponseWriter) WriteHeader ¶
func (t *TestResponseWriter) WriteHeader(statusCode int)
Click to show internal directories.
Click to hide internal directories.