Opened 11 years ago

Closed 11 years ago

Last modified 7 years ago

#5972 closed Feature Requests (fixed)

Support program option to only dump the test-tree in text to output stream

Reported by: paul.bormans@… Owned by: Gennadiy Rozental
Milestone: Boost 1.59.0 Component: test
Version: Boost 1.38.0 Severity: Problem
Keywords: dump test tree Cc:

Description

A problem that i often hear from the development teams is that the run_test switch doesn't return any testcases; the engineer has problems in configuring the filter like --run_test=*/*/*TestA or --run_test=*/*/TestA*

A simple solution is to run the test app using --log_level=test_suite --run_test=non-exisiting-test, this effectively dumps the testtree; only it is not indented; so still difficult to interpret when you have >300 test cases in a hierarchy of suites.

A simple solution is to add a visitor to simply write the suite/names to an output stream in format: n*(suite/)testcase; example: master/suite1/test1 master/suite1/suite1.1/test2 master/suite2/test3 etc...

Change History (2)

comment:1 by Gennadiy Rozental, 11 years ago

Resolution: fixed
Status: newclosed

New CLA added in trunk

comment:2 by Raffi Enficiaud, 7 years ago

Milestone: To Be DeterminedBoost 1.59.0

boost.test CLA learned the list_content option.

Note: See TracTickets for help on using tickets.