Skip to content

Add assertion_handler for all unit tests #368

Description

@MaciejKaszynski

What

Currently our assertion handler is registered in the main.

This means that no assertion handler is registered for unit tests if they do not use the main.cpp, this makes testing harder as no message can be seen from the assertions.

Acceptance Criteria (DoD)

  • Unit tests have the assertion handler registered.

How

We should separate the handler into a separate header file, and create a bazel macro for unit tests so that it include the header.
The header should register the handler statically so that no further code is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions