Glean 拾遗
Daily · timeline

A few picks a day.

Sun, Aug 30, 2026 2picks
← 08-28
Calendar ▾
2026 · 08
has picks today
08-31 →
06:00

Testcontainers: real-service integration testing, no in-memory fakes

Testcontainers 入门:用真实服务容器解决集成测试的环境与数据污染

An official introductory guide to Testcontainers. It opens with familiar integration-testing pain points: pre-provisioned environments are hard to maintain, and parallel build pipelines can pollute each other's test data. It argues that substituting mocks or in-memory databases (e.g. H2 for Postgres) hides production-specific features and delays feedback—an SQL query may pass on H2 only to fail against Postgres after deployment. The solution is Testcontainers, a library that starts real services in Docker containers before tests, wires the application to those containers, and removes them afterward. Infrastructure lives next to test code, tests can be launched from an IDE, and each pipeline gets an isolated set of services. Supported languages include Java, .NET, Go, NodeJS, Rust, and Python. The vendor perspective is clear, and there are no code samples or benchmarks; useful as a first read rather than a deep evaluation.

testcontainers.com · 6 min · Docker · Integration Testing · Testcontainers
06:00

Manual Test Cases Are the Baseline AI Agents Need

Agent 既写代码又改测试,手工用例是最后的独立基线

When the same process generates both implementation and its tests, a green pipeline only proves code and tests agree, not that the behavior is correct. The article argues for manual test cases as an independent behavioral baseline in agentic development. Written in Markdown or Gherkin, they capture business scenarios, preconditions, expected outcomes, and boundary conditions without depending on test framework internals. The proposed workflow splits responsibilities: a development agent implements, a dedicated automation agent turns approved cases into E2E checks, and a requirement-review agent blocks any test change not backed by an approved requirement. This helps avoid an implement-fail-fix-regression loop and keeps intent intact through rewrites and framework migrations. Useful for QA engineers, engineering managers, and anyone building agent-driven delivery pipelines. Note: the piece is published by Testomat.io, a test management vendor, and closes with a product pitch.

testomat.io · 14 min · Agent Engineering · AI Engineering · QA · Test Management