Contextualizing Tests
Create an S3 list of srcref objects
Wrap object in test description derivation data
Coerce a list_of_srcref object to a data.frame
A simple alternative to devtools::as.package
Check that the coverage object retains testing information
Retrieve test traces from a coverage object
Test that the coverage object retains testing information
Convert an expression, call or symbol to a single-line string
Map srcrefs over an iterable object, Filtering non-srcref results
Format a list_of_srcref object
Get namespace exports, filtering methods tables and definitions
Get the full path to the srcref file
Test whether an object is a srcref object
Join srcref data.frames by intersection of srcref spans
Match srcrefs against srcrefs that contain them
Build an empty covr-style test trace mapping
Get namespace export namespace name
Verify that the package collection contains srcref information
Create a data.frame of package srcref objects
Extract all the srcref objects of objects within a package namespace
Create a tabular representation of man file information
Parse the expression associated with a srcref
Convert a srcref into a string
Retrieve srcrefs
Parse the test description from a it call
Parse the test description from a describe call
Parse the test description from a test_that call
Parse a test description from the calling expression
Create a data.frame of coverage test srcref objects
Extract test srcref objects
Build a traceability matrix that links documented behaviors to unit te...
Create a data.frame mapping tests to coverage traces
Create a data.frame of coverage trace srcref objects
Extract srcref objects from coverage object traces
For consistency, stub calls with srcref-like attributes
Dissects a package environment or 'covr' coverage object in order to cross reference tested code with the lines that are evaluated, as well as linking those evaluated lines to the documentation that they are described within. Connecting these three pieces of information provides a mechanism of linking tests to documented behaviors.