Skip to content

docs: testing guide — StartTestServer, recording/replay, isolation patterns (docs/testing-guide.md) #178

Closed

Description

@scttfrdmn

Create docs/testing-guide.md for Go developers writing integration/e2e tests.

Sections:

  1. StartTestServer — spin up in-process server per testing.T, zero config
  2. State isolation — defer ts.ResetState(t) between sub-tests
  3. Recording + replay — capturing a CI flake for deterministic reproduction
  4. Time-travel debugging — InspectState, JumpToEvent, StepBackward walkthrough
  5. Cost assertions — asserting expected spend bounds in tests
  6. Fault injection — FaultController for resilience/chaos testing
  7. Multi-region patterns
  8. Full worked example: Lambda + SQS + S3 workflow test end-to-end

Activity

  1. added this to the v0.28.0 milestone on Mar 15, 2026
  2. added
    type: docs
    priority: medium
    on Mar 15, 2026
  3. scttfrdmn commented on Mar 15, 2026

    @scttfrdmn
    OwnerAuthor

    Shipped in the relevant release. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: docs

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions