runTest skips your delays, which is why the flaky test passed
Virtual time makes a 30-second timeout instant — and makes a real-dispatcher leak invisible.
We use Google Analytics to see which pages help people. No ads, no profiles. Privacy Policy
23 posts
Virtual time makes a 30-second timeout instant — and makes a real-dispatcher leak invisible.
One test, five executions. That is how you find platform bugs — and how one flaky test fails five jobs.
A structural shell passes an AST scan and a unit test while rendering nothing the mockup specified. Only a rendered check can tell the difference.
Golden references are test inputs and belong in version control; run captures are regenerable evidence and do not. Conflating them loses the reference.
Tests that assert on visible text break on copy edits, which trains people to weaken assertions. A test tag is a deliberate contract that survives rewording.
Snapshot tests die the moment output varies per run. Asserting invariants instead of strings, the vacuous-check trap, and a verdict that means could-not-determine.
Reinstalling over a running app can leave the old composition on screen. A screenshot taken without a force-stop cannot say which build drew it.
The capture loop that makes an on-device claim checkable: force-stop, install, launch, capture, hash. Why the order is load-bearing and what it cannot see.
Static checks read what was written; the defect lives in what was drawn. Four artifacts that passed every gate this session and failed the moment someone looked.
Giving an agent a real browser removes the slowest loop in web debugging. The first thing that breaks is not your selectors — it is that a headless browser is refused at the edge.
A RED test fixture that passed because a comment explaining the omission contained the omitted string. The failure mode is generic: any test whose input mentions what it removes.