glcov/prof
Types
pub type Report {
Report(
mode: args.ProfileMode,
total: Int,
rows: List(Row),
test_status: Int,
)
}
Constructors
-
Report( mode: args.ProfileMode, total: Int, rows: List(Row), test_status: Int, )
Values
pub fn render_summary(report: Report, top: Int) -> String
pub fn run(
modules: List(cover.SelectedModule),
root: String,
mode: args.ProfileMode,
color: Bool,
) -> Result(Report, String)
Profile the project’s test suite with tprof and map the resulting MFA data back to function definition lines in .gleam sources.
pub fn test_status(report: Report) -> Int