Skip to content

Remove cassert usage from TraceableException tests to enable release mode compilation #71

@coderabbitai

Description

@coderabbitai

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions