Ecosystem: Scripting Workflow
Turning a notebook into a parameterized and testable script: arguments and config, logging and exit codes, atomic writes, idempotent runs, validation and scheduling.
Turning a notebook into a parameterized and testable script: arguments and config, logging and exit codes, atomic writes, idempotent runs, validation and scheduling.
Playwright and Cypress: driving a real browser, and the flakiness that comes with it.
Testcontainers and API mocks: testing the seam between your code and a real dependency.
k6 and JMeter: load models, thresholds and the difference between a benchmark and a capacity test.
从 go test 的包选择、表驱动与 t.Run 子测试,到 -race 的开销、-benchmem 与 benchstat 的对比方法、fuzz 与覆盖率门禁,并说明 CPU、heap、block、mutex profile 与 trace 各自回答什么问题。遇到缓存假绿、flaky 与覆盖率停滞时能按信号定位。
JUnit 5 architecture, the extension model, test doubles, Testcontainers and the surefire and failsafe split.
What a unit test isolates, the assertion libraries that express it, and where Vitest/Jest fits.