Learn R Programming

covr (version 3.6.5)

current_test_index: Retrieve the index for the test in .counters$tests

Description

If the test was encountered before, the index will be the index of the test in the logged tests list. Otherwise, the index will be the next index beyond the length of the tests list.

Usage

current_test_index()

Arguments

Value

An integer index for the test call