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.


jimhester/covr documentation built on June 14, 2025, 1:24 a.m.