as_test_desc {covtracer}R 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.


[Package covtracer version 0.0.1 Index]