Skip to content
class method

Coverage.resume

() -> nil
Coverage.resume => nil

Start/resume the coverage measurement.

Caveat: Currently, only process-global coverage measurement is supported. You cannot measure per-thread coverage. If your process has multiple thread, using Coverage.resume/suspend to capture code coverage executed from only a limited code block, may yield misleading results.

See also .result .running? .peek_result .setup also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1