Skip to content

Conversation

@sre
Copy link

@sre sre commented Feb 1, 2018

Add tracing capabilities to cxxtest.

Jarmo Jaakkola added 2 commits February 1, 2018 14:11
Print tracing information when a test suite or test case is started
in CxxTests.

Use '-v' parameter to enable traces.

This provides better context information for hard to track unit test
problems like timeouts or segfaults.
Suite and test case tracing is extra verbose, hide it from from "-v"
tracing.  Add support for "-v -v" to enable verbose tracing, which
prints suite and test case tracing in addition to regular tracing.
This allows a developer to better see regular traces when
test failures are expected, e.g. when developing a new test suite or
debugging a single test case.

Use of "-vv" is a change from the previous non-configurable verbosity
behaviour, but this has the same effect as "-v" had before this change.
"-v" used to enable all tracing, including verbose tracing.
@iangehc
Copy link

iangehc commented Mar 22, 2024

This is an old PR, but we would still like to see it merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants