Closed
Description
It would be useful to have a debug-probes specific rule for unit tests to avoid boilerplate and time-specific races indump
.
For example, for the following code:
@Rule
val debug = DebugProbesRule(timeout = ...)
@Test
fun test() {
hangJob.join()
}
the rule installs and uninstalls debug probes before and after tests and dumps all coroutines on timeout
Activity