Horizon
Loading...
Searching...
No Matches
Catch::ReporterPreferences Struct Reference

#include <catch_amalgamated.hpp>

Public Attributes

bool shouldRedirectStdOut = false
bool shouldReportAllAssertions = false

Detailed Description

By setting up its preferences, a reporter can modify Catch2's behaviour in some regards, e.g. it can request Catch2 to capture writes to stdout/stderr during test execution, and pass them to the reporter.

Member Data Documentation

◆ shouldRedirectStdOut

bool Catch::ReporterPreferences::shouldRedirectStdOut = false

Catch2 should redirect writes to stdout and pass them to the reporter

◆ shouldReportAllAssertions

bool Catch::ReporterPreferences::shouldReportAllAssertions = false

Catch2 should call Reporter::assertionEnded even for passing assertions


The documentation for this struct was generated from the following file: