current_test_call_count: Retrieve the number of times the test call was called

View source: R/trace_tests.R

current_test_call_countR Documentation

Retrieve the number of times the test call was called

Description

A single test expression might be evaluated many times. Each time the same expression is called, the call count is incremented.

Usage

current_test_call_count()

Value

An integer value representing the number of calls of the current call into the package from the testing suite.


r-lib/covr documentation built on April 9, 2024, 2:14 p.m.