DrMock icon indicating copy to clipboard operation
DrMock copied to clipboard

`DRTEST_DATA` without `DRTEST_TEST` raises cryptic error message

Open maltekliemann opened this issue 3 years ago • 0 comments

The following test raises a strange error message:

DRTEST_DATA(data_without_test)
{
}

// DRTEST_TEST(data_without_test)
// {
// }

The error message is:

TEST   data_without_test
*FAIL  data_without_test: std::exception

The throw is fine, but the error message should be more verbose.

maltekliemann avatar Jul 21 '21 16:07 maltekliemann