update_current_test {covr}R Documentation

Update current test if unit test expression has progressed

Description

Updating a test logs some metadata regarding the current call stack, noteably trying to capture information about the call stack prior to the covr::count call being traced.

Usage

update_current_test()

Details

There are a couple patterns of behavior, which try to accommodate a variety of testing suites:

checks to see if the current call stack has the same srcref (or expression, if no source is available) at the same frame prior to entering into a package where covr:::count is called.


[Package covr version 3.6.4 Index]