testing Package

Import Path: github.com/systmms/incidents/internal/testing

Types

Cassette

Cassette records and replays HTTP interactions for testing

{<nil> 185 type 0 [0x1400061b340] 0}

Methods

NewCassette

NewCassette creates a new cassette for recording/replaying HTTP interactions

{<nil> <nil> NewCassette 0x1400081c140 <nil>}

CassetteTransport

CassetteTransport implements http.RoundTripper for recording/replaying

{<nil> 1292 type 0 [0x1400061b980] 0}

Methods

NewCassetteTransport

NewCassetteTransport creates an HTTP transport with cassette recording/replay

{<nil> <nil> NewCassetteTransport 0x1400081c340 <nil>}

Interaction

Interaction represents a single HTTP request/response pair

{<nil> 469 type 0 [0x1400061b4c0] 0}

RecordedRequest

RecordedRequest captures the essential parts of an HTTP request

{<nil> 702 type 0 [0x1400061b640] 0}

RecordedResponse

RecordedResponse captures the essential parts of an HTTP response

{<nil> 989 type 0 [0x1400061b800] 0}

Generated automatically from Go source code. Last updated: 2025-08-25T07:51:05-04:00