[{"data":1,"prerenderedAt":307},["ShallowReactive",2],{"doc-reporters":3},{"id":4,"title":5,"body":6,"description":297,"extension":298,"meta":299,"navigation":300,"path":301,"seo":302,"slug":303,"source":304,"stem":305,"__hash__":306},"docs\u002Fdocs\u002Freporters.md","Reports",{"type":7,"value":8,"toc":290},"minimark",[9,13,42,55,59,155,169,172,175,188,191],[10,11,5],"h1",{"id":12},"reports",[14,15,16,20,23,28,30,34,36,40],"p",{},[17,18,19],"strong",{},"Contents",[21,22],"br",{},[24,25,27],"a",{"href":26},"#the-reports","The reports",[21,29],{},[24,31,33],{"href":32},"#custom-output","Custom output",[21,35],{},[24,37,39],{"href":38},"#where-catch2s-reporters-went","Where Catch2's reporters went",[21,41],{},[14,43,44,45,49,50,54],{},"The ",[24,46,48],{"href":47},"\u002Fdocs\u002Fprogmasoft-runner\u002F","Catch3 runner"," writes its own reports. Catch2's\nreporters, and ",[51,52,53],"code",{},"CATCH_REGISTER_REPORTER",", were removed with Catch2's runner:\na reporter sees one process, and a Catch3 run spreads over many.",[56,57,27],"h2",{"id":58},"the-reports",[60,61,62,92,129,146],"ul",{},[63,64,65,68,69,73,74,77,78,77,81,77,84,87,88,91],"li",{},[17,66,67],{},"Console."," Progress while the run goes on, each failure with its\nexpansion, messages, sections and ",[24,70,72],{"href":71},"\u002Fdocs\u002Fprogmasoft-runner\u002F#what-a-failure-report-says","analysis",",\nthen a summary. ",[51,75,76],{},"--verbose",", ",[51,79,80],{},"--success",[51,82,83],{},"--quiet",[51,85,86],{},"--slowest"," and\n",[51,89,90],{},"--color"," adjust it.",[63,93,94,77,97,100,101,104,105,108,109,112,113,116,117,120,121,124,125,128],{},[17,95,96],{},"JUnit XML",[51,98,99],{},"--junit=FILE",". One ",[51,102,103],{},"\u003Ctestcase>"," per test; a failure is\n",[51,106,107],{},"\u003Cfailure>",", a crash or timeout ",[51,110,111],{},"\u003Cerror>",", a skipped, blocked or not-run\ntest ",[51,114,115],{},"\u003Cskipped>",". Earlier failed attempts are ",[51,118,119],{},"\u003CrerunFailure>"," and, for a\ntest that passed in the end, ",[51,122,123],{},"\u003CflakyFailure>",". Under Bazel it is written\nto ",[51,126,127],{},"XML_OUTPUT_FILE",".",[63,130,131,77,134,137,138,141,142,128],{},[17,132,133],{},"JSON",[51,135,136],{},"--json=FILE",". Everything the runner knows about the run, in the\n",[51,139,140],{},"catch3-run"," ",[24,143,145],{"href":144},"\u002Fdocs\u002Fprogmasoft-runner\u002F#formats-other-tools-read","format",[63,147,148,77,151,154],{},[17,149,150],{},"Trace",[51,152,153],{},"--trace=FILE",", in the Trace Event Format.",[14,156,157,160,161,164,165,168],{},[51,158,159],{},"\u003CProgmasoft\u002FCatch3\u002FResults.hpp>"," holds the model the reports are written\nfrom, and ",[51,162,163],{},"\u003CProgmasoft\u002FCatch3\u002FXmlWriter.hpp>"," the JUnit writer, for tools\nthat build a ",[51,166,167],{},"RunResult"," themselves.",[56,170,33],{"id":171},"custom-output",[14,173,174],{},"For output of your own:",[60,176,177,180],{},[63,178,179],{},"Read the JSON report. It is the complete record of a run, and its format\nis versioned.",[63,181,182,183,187],{},"Write a ",[24,184,186],{"href":185},"\u002Fdocs\u002Fevent-listeners\u002F","listener",". Listeners receive Catch2's\nevents in every worker process; what one prints outside a test reaches\nthe runner's standard error.",[56,189,39],{"id":190},"where-catch2s-reporters-went",[192,193,194,207],"table",{},[195,196,197],"thead",{},[198,199,200,204],"tr",{},[201,202,203],"th",{},"Catch2",[201,205,206],{},"Catch3",[208,209,210,224,235,249,268,281],"tbody",{},[198,211,212,221],{},[213,214,215,77,218],"td",{},[51,216,217],{},"console",[51,219,220],{},"compact",[213,222,223],{},"the console report",[198,225,226,231],{},[213,227,228],{},[51,229,230],{},"junit",[213,232,233],{},[51,234,99],{},[198,236,237,245],{},[213,238,239,77,242],{},[51,240,241],{},"json",[51,243,244],{},"xml",[213,246,247],{},[51,248,136],{},[198,250,251,265],{},[213,252,253,77,256,77,259,77,262],{},[51,254,255],{},"sonarqube",[51,257,258],{},"tap",[51,260,261],{},"teamcity",[51,263,264],{},"automake",[213,266,267],{},"convert the JSON report, or a listener",[198,269,270,275],{},[213,271,272],{},[51,273,274],{},"--reporter NAME::out=FILE",[213,276,277,77,279],{},[51,278,99],{},[51,280,136],{},[198,282,283,287],{},[213,284,285],{},[51,286,53],{},[213,288,289],{},"a listener, or a tool reading the JSON report",{"title":291,"searchDepth":292,"depth":292,"links":293},"",2,[294,295,296],{"id":58,"depth":292,"text":27},{"id":171,"depth":292,"text":33},{"id":190,"depth":292,"text":39},"ContentsThe reportsCustom outputWhere Catch2's reporters went","md",{},true,"\u002Fdocs\u002Freporters",{"title":5,"description":297},"reporters","docs\u002Freporters.md","docs\u002Freporters","RBMnTJm9JSKVCBmZoYSzkdOHDi9-qaxSONeiLoejWs0",1794961593776]