Skip to main content

7 docs tagged with "testing"

View all tags

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.

End-to-End Testing

Playwright and Cypress: driving a real browser, and the flakiness that comes with it.

Integration Testing

Testcontainers and API mocks: testing the seam between your code and a real dependency.

Performance Testing

k6 and JMeter: load models, thresholds and the difference between a benchmark and a capacity test.

Toolchain: Test and Profile

从 go test 的包选择、表驱动与 t.Run 子测试,到 -race 的开销、-benchmem 与 benchstat 的对比方法、fuzz 与覆盖率门禁,并说明 CPU、heap、block、mutex profile 与 trace 各自回答什么问题。遇到缓存假绿、flaky 与覆盖率停滞时能按信号定位。

Toolchain: Testing

JUnit 5 architecture, the extension model, test doubles, Testcontainers and the surefire and failsafe split.

Unit Testing

What a unit test isolates, the assertion libraries that express it, and where Vitest/Jest fits.