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.
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)
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.