Class CrashingTerminator

Inheritance Relationships

Base Type

Class Documentation

class CrashingTerminator : public mu::tiny::test::NormalTerminator
[source]

Terminator that crashes the process on failure.

Extends NormalTerminator so that test failures also trigger a hard crash (e.g. for use with crash-dump or post-mortem debugging). Enable via Shell::set_crash_on_fail().

Public Functions

virtual void exit_current_test() const override

Exit the currently running test immediately.

~CrashingTerminator() override = default
[source]