Skip to main content

Function: formatResultsJUnit()

Function: formatResultsJUnit()

function formatResultsJUnit(results: EvalResult[]): string;

Render results as JUnit XML for standard CI test reporters: a single <testsuite name="appkit-agent-evals"> with one <testcase> per result. Failures carry a <failure> (error or failing-gate summary); skips a <skipped>. All attribute/text values are XML-escaped.

Parameters

ParameterType
resultsEvalResult[]

Returns

string

Databricks Developer Hub

Ready to ship your next agentic app in minutes?

Read docs