Kubai Kevin

16 articles tagged Testing

k6 vs Locust: traffic models that lie

Why closed-loop load tests under-report latency, how to build open-loop traffic models in k6 and Locust, and how to read the results without fooling yourself.

13 min read · 7 November 2026

Property-based testing vs example tests: the bug gap

How example-based and property-based tests differ in what they catch, what each costs to maintain, and how to split work between them in financial code.

18 min read · 20 October 2026

Staging won't catch prod bugs. Make…

Why full parity between staging and production misses state-dependent bugs, and how to build cheap fault injection that catches them before deploy.

13 min read · 19 October 2026

Contract testing is not optional

Why end-to-end tests and API versioning miss integration breaks, how consumer-driven contracts close the gap, when they fit, and a 30-minute first step.

15 min read · 18 October 2026

Zig vs Rust vs Go: compile errors compared

How Go, Rust, and Zig encode memory, concurrency, and correctness in compile errors, what each failure mode means, and how to fix it.

13 min read · 15 October 2026

Flaky tests: reliability bug, not test noise

Flaky tests usually point to real non-determinism in production code. Learn to classify the four families, triage by blast radius, and fix the source.

16 min read · 14 October 2026

Retire API versions before they pile up

Most API version graveyards come from shipping versions without a deletion plan. Here is how to make old versions cheap to measure, warn about, and remove.

12 min read · 12 October 2026

agent code review gap nobody admits

AI-generated PRs pass linting and unit tests yet break production. The gap is environment fidelity, not code quality. Here is how to close it.

13 min read · 27 August 2026

WebSockets vs Server-Sent Events: latency over 3G

Compare WebSocket and Server-Sent Events for real-time features on 3G/4G: reconnect behaviour, proxy timeouts, framing overhead, and how to measure each.

14 min read · 21 August 2026

Stop guessing tech stacks: validate tools in 2 hours

A repeatable two-hour process for validating an unfamiliar library or service before it reaches production, with concrete checks and exit criteria.

13 min read · 12 July 2026

Test AI code without testing the AI

A practical testing strategy for AI-assisted code: property-based, contract, fuzz, snapshot, and chaos testing, with worked examples and a decision table.

16 min read · 1 July 2026

5 ways to find hidden latency before production

Five practical ways to surface hidden latency before production: traffic replay, synthetic probes, profiling diffs, query plan diffs, and dependency latency budgets.

12 min read · 30 June 2026

CI/CD for AI code: test, secure, rollback fast

A CI/CD pattern for AI-assisted code changes: deterministic locks, prompt-injection checks, smoke tests, metrics gates, and blue-green rollback.

13 min read · 23 June 2026

Postmortems for AI agents: human review vs blind replay

Compare human-in-the-loop and deterministic-replay postmortems for AI agents, with a decision checklist and a 30-minute audit you can run today.

16 min read · 20 June 2026

AI codebases: two onboarding paths that actually work

Compare two ways to onboard developers into codebases containing AI-generated code, with failure modes, cost math, and a decision checklist.

13 min read · 15 June 2026

AI interviews now ask for this

AI-assisted coding has changed what engineering interviews probe: flaky tests, observability overhead, secret rotation, and auditing generated code.

16 min read · 10 June 2026