Tag
Testing
Every article tagged Testing across the Atmosphere.
53articles
Articles
Publications
Testing Go CLIs with testscript
How cmd/go's script tests led me to testscript, and how to use it for CLI tests that exercise argv, stdout, stderr, exit codes, and scratch files.GoTesting
On tests and perceptual domain modelling
Knowing when you've tested enough depends on whether you can see the edges of your input space.testingdomain-modelling
A tour of txtar
txtar is a tiny plain-text archive format Russ Cox introduced in 2018 for multi-file test fixtures. The Go Playground, cmd/go's script tests, gopls's marker tests, and rsc.io/rf all reach for it.GoTesting
Title タイトル mochott
Subtitle サブタイトルtesting
hello mochott!
testing
Testing unary gRPC services in Go
How to test unary gRPC services in Go - handler logic, interceptors, deadlines, metadata propagation, and rich error details - all in-memory with bufconn.GogRPC
Test IDs are an a11y smell
Users don't use data-testid, so why do your tests?Design SystemTesting
Downstream Testing
Most library maintainers have no way to test against their dependents before releasing.package-managerstesting
The Velocity Paradox
AI agents can generate code 100x faster, but for companies stuck in the "Unhappy Middle" — with legacy debt, bespoke frameworks, and zero slack — the bottleneck has shifted from writing code to verifying it. Here's how engineering leaders can cross the chasm by becoming gardeners, not janitors.AITechnical Debt
Undecided...
I have yet to decide what I want to do with this blog, even though I have ideas... I have multiple Leaflet publications, I have multiple WordPress blogs, I have active profiles just about everywhere and I really don't need another blog - but I want one 😛 I've been busy experimenting with all the new ATproto tools and this is another one on the list! So, for now, I'm just experimenting with the blocks available on pckt and hopefully it'll give me some inspiration and direction of where to go from...Testing
Your Go tests probably don't need a mocking library
Practical patterns for mocking in Go without external libraries. Learn to mock functions, methods, interfaces, HTTP calls, and time using only the standard libraryGoTesting
Formatting Tests
Ignore this article it is for testingtestingformatting
Tap compare testing for service migration
Master shadow testing for large-scale system migrations. Learn to safely rewrite services by comparing outputs between old and new implementations.Distributed SystemsGo
Re-exec testing Go subprocesses
Test Go subprocesses with the re-exec pattern: spawn your test binary as a subprocess to emulate real command behavior reliably.GoTesting
Revisiting interface segregation in Go
Apply SOLID's Interface Segregation Principle in Go with consumer-defined contracts. Learn why small interfaces and implicit implementation matter.GoAPI