current_test_key: Build key for the current test

View source: R/trace_tests.R

current_test_keyR Documentation

Build key for the current test

Description

If the current test has a srcref, a unique character key is built from its srcref. Otherwise, an empty string is returned.

Usage

current_test_key()

Value

A unique character string if the test call has a srcref, or an empty string otherwise.


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