% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/run_covr_skip_nstf.R
\name{create_base_tests_coverage}
\alias{create_base_tests_coverage}
\title{Create coverage by running base-style tests under covr (internal)}
\usage{
create_base_tests_coverage(pkg_source_path, pkg_name, test_files)
}
\arguments{
\item{pkg_source_path}{Character; package source root.}

\item{pkg_name}{Character; package name.}

\item{test_files}{Character vector of test file paths (absolute or relative).}
}
\value{
list(coverage = <covr coverage object>)
}
\description{
Traces the package namespace with covr, then sources each test script
from its own directory (so relative file references like 'load("solr.rda")'
in MASS/tests work). Converts covr counters to a coverage object.
}
\seealso{
Other nstf_utility: 
\code{\link{check_covr_skip_testit}()},
\code{\link{create_nstf_covr_list}()},
\code{\link{create_tinytest_coverage}()},
\code{\link{get_nstf_test_path}()},
\code{\link{get_source_test_mapping_nstf}()},
\code{\link{restrict_test_paths_to_framework}()},
\code{\link{run_covr_skip_nstf}()}
}
\concept{nstf_utility}
\keyword{internal}
