Summary
A pull request has been opened against MicrosoftDocs/azure-dev-docs adding an integration-testing guide for Go developers using the modules/azure package.
Fork branch with the full diff: https://github.com/mdelapenya/azure-dev-docs/tree/go/testcontainers-support
The PR cannot be opened directly via the API due to MicrosoftDocs org OAuth restrictions — it needs to be submitted through the GitHub web UI or by someone with org access.
What the article covers
- Azurite — Blob, Queue, Table Storage (with
WithEnabledServices and WithInMemoryPersistence)
- CosmosDB —
vnext-preview image + NewContainerPolicy for TLS; no keystore ceremony
- Event Hubs —
WithAcceptEULA, typed NewConfig builder, auto-managed Azurite, WithAzuriteContainer for shared instances
- Service Bus —
WithAcceptEULA, JSON queue config, auto-managed MSSQL
- Lowkey Vault — secrets, keys, certs; managed-identity env-var simulation;
Client(ctx) for self-signed TLS
- CI/CD — GitHub Actions, Azure Pipelines, Ryuk, memory budgets, parallel packages
Why this matters
The Java/Spring section of the same docs already has an equivalent guide (link). The Go section has zero testing guidance. Every Azure data service covered in the Go docs has a matching emulator in modules/azure, and all code examples are taken verbatim from the module's CI-tested examples_test.go files.
Summary
A pull request has been opened against MicrosoftDocs/azure-dev-docs adding an integration-testing guide for Go developers using the
modules/azurepackage.Fork branch with the full diff: https://github.com/mdelapenya/azure-dev-docs/tree/go/testcontainers-support
The PR cannot be opened directly via the API due to MicrosoftDocs org OAuth restrictions — it needs to be submitted through the GitHub web UI or by someone with org access.
What the article covers
WithEnabledServicesandWithInMemoryPersistence)vnext-previewimage +NewContainerPolicyfor TLS; no keystore ceremonyWithAcceptEULA, typedNewConfigbuilder, auto-managed Azurite,WithAzuriteContainerfor shared instancesWithAcceptEULA, JSON queue config, auto-managed MSSQLClient(ctx)for self-signed TLSWhy this matters
The Java/Spring section of the same docs already has an equivalent guide (link). The Go section has zero testing guidance. Every Azure data service covered in the Go docs has a matching emulator in
modules/azure, and all code examples are taken verbatim from the module's CI-testedexamples_test.gofiles.