doctest / doctest

The fastest feature-rich C++11/14/17/20/23 single-header testing framework
https://bit.ly/doctest-docs
MIT License
5.98k stars 644 forks source link

Request: Add ADD_SUCCESS_AT macro for third party libraries #309

Open reddwarf69 opened 5 years ago

reddwarf69 commented 5 years ago

As per https://github.com/rollbear/trompeloeil/pull/169#issuecomment-554357125 it would be nice to have a ADD_SUCCESS_AT to inform doctest of a successful assert in the same way ADD_FAIL_AT informs it of a failed assert.

onqtam commented 5 years ago

This will have to wait... I suggest going forward with the other PR to the mocking framework and using CHECK("message") - just like at the moment...

cdeln commented 3 months ago

This feature needs an example showcasing how the new macro should be used.