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.


covr documentation built on Nov. 10, 2025, 1:06 a.m.