Verbosity level not supported by this reporter

81 views
Skip to first unread message

Casey Boettcher

unread,
May 2, 2018, 11:41:44 PM5/2/18
to CATCH
When I run a few tests, they reveal an error in my code, but just barely:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo is a Catch v2.2.2 host application.
Run with -? for options

-------------------------------------------------------------------------------
Test1
-------------------------------------------------------------------------------
foo.cpp:55
...............................................................................

foo.cpp:55: FAILED:
due to unexpected exception with message:
  basic_string

===============================================================================
test cases: 3 | 2 passed | 1 failed
assertions: 1 | 1 failed

I'd like to see more of the trace, which reads as follows when run outside of a catch test:

libc++abi.dylib: terminating with uncaught exception of type std::out_of_range: basic_string
Abort trap: 6

So, I increase verbosity on the command line:

./testSuite -v high

But Catch doesn't seem to like that for the console reporter:

Verbosity level not supported by this reporter

I then try each reporter in turn, hoping that one of them will not produce this error. No joy. Each returns the same error.

What am I doing wrong? Are my expectations out of line with what Catch is intended for?

Reply all
Reply to author
Forward
0 new messages