Learn R Programming

gradeR (version 2.0.1)

processTestAssertions: 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)

Value

A list with components: score, max_score, and output

Arguments

assertion_results

list of assertion results from testthat