Problem
Currently, unit tests in src/ystdlib/error_handling/test/test_TraceableException.cpp rely on cassert and fail to compile in release mode. This prevents running tests in release configuration and forces the CI workflow to use debug mode only.
Solution
Remove the dependency on cassert from the test file to allow tests to compile and run successfully in both debug and release modes.
Impact
This change would enable:
- Running tests in both debug and release configurations
- Using
task test:run-${{matrix.build_type}} in CI workflows
- Better test coverage across build configurations
References