[KongchangAI]
Conceptflaky test / 不稳定测试

Flaky Test

An automated testing term referring to the phenomenon where the same test case produces inconsistent results across multiple runs when code and environment remain unchanged, caused by factors such as improper asynchronous timing assumptions, shared mutable state, unstable external dependencies, and UI race conditions.

Timeline (last 90 days)

Oct 17

Flaky tests can be divided into two categories: the first fails in any order (e.g., data races, overly tight timeouts, clock issues, shared state within a single test); the second depends on previously run tests (e.g., polluted globals, database rows left by other tests, caches).

Unverified50%

All Facts (1)

Source Articles