map_test: Map the hierarchy structure of a testthat test file

View source: R/map_testthat.R

map_testR Documentation

Map the hierarchy structure of a testthat test file

Description

Query a test file to see what expectations are defined in it.

Usage

map_test(path)

Arguments

path

character, path to file

Details

Return data.frame containing which expectations are in the test file by context/description/test/expectation/linerange

Value

data.frame

See Also

getParseData

Other utility: coverage_skip(), covr_summary(), map_testthat_snapshot(), map_testthat(), package_name(), testthat_summary()


metrumresearchgroup/covrpage documentation built on Feb. 25, 2023, 2:22 p.m.