LlmReporter: Report test progress for LLMs

LlmReporterR Documentation

Report test progress for LLMs

Description

LlmReporter is designed for use with Large Language Models (LLMs). It reports problems (warnings, skips, errors, and failures) as they occur and the total number of successes at the end.

LlmReporter is used by default when tests are run by a coding agent. Currently we detect Claude Code, Cursor, and Gemini CLI. If using another tool, configure it to set env var AGENT=1.

See Also

Other reporters: CheckReporter, DebugReporter, FailReporter, JunitReporter, ListReporter, LocationReporter, MinimalReporter, MultiReporter, ProgressReporter, RStudioReporter, Reporter, SilentReporter, SlowReporter, StopReporter, SummaryReporter, TapReporter, TeamcityReporter


testthat documentation built on Jan. 11, 2026, 5:06 p.m.