as_test_desc: Wrap object in test description derivation data

View source: R/test_description.R

as_test_descR Documentation

Wrap object in test description derivation data

Description

Wrap object in test description derivation data

Adds "testthat" style

Usage

as_test_desc(x, type = "call")

as_testthat_desc(x)

Arguments

x

A test description string to bind style data to

type

A type class to attribute to the test description. Defaults to "call".

Value

A test_description subclass object with additional style attribute indicating how the test description was derived.


covtracer documentation built on Sept. 12, 2024, 7:40 a.m.