SmartTest

ADR-0008: Observed execution may rule out tests, except in SAFE mode

Context #

Static analysis over-approximates: a test that reaches a class through a value of unknown type depends on every method of that class. Per-test V8 coverage (smarttest trace) shows which functions a test actually ran. Using it to drop tests saves time but relies on the test being deterministic.

Decision #

Consequences #

Alternatives considered #

Edit this page on GitHub