processTestAssertions: Process assertions for a single test.

View source: R/grade.r

processTestAssertionsR Documentation

Process assertions for a single test.

Description

Internal helper function that processes all assertions for a test and computes scores and messages.

Usage

processTestAssertions(assertion_results)

Arguments

assertion_results

list of assertion results from testthat

Value

A list with components: score, max_score, and output


gradeR documentation built on Jan. 20, 2026, 1:06 a.m.