Struct ReporterPreferences

Struct Documentation

struct ReporterPreferences

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.

Public Members

bool shouldRedirectStdOut = false

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

bool shouldReportAllAssertions = false

Catch2 should call Reporter::assertionEnded even for passing assertions