Skip to content

Integration test: added line output and ErrorTemplate support

Carsten Patzke requested to merge improved_testing_logging into develop

The new system allows:

Native error checks Old: M_AssertTrue(err == nullptr); New: M_AssertEq(nullptr, err);

And native template error checks Old: M_AssertTrue(err != nullptr && asapo::IOErrorTemplates::kUnableToResolveHostname == err); New: M_AssertEq(asapo::IOErrorTemplates::kUnableToResolveHostname, err);

If no comment was made, a auto generated comment will be used to describe the assert. Furthermore for each running assert a line number will always be printed.

The code is also backwards compatible, but it would be great if for new tests the new native checks could be used.

Merge request reports

Loading