Opened 15 years ago

Closed 13 years ago

#1639 closed Feature Requests (fixed)

support --help in boost::test's auto unit test main

Reported by: Steven Robbins <smr@…> Owned by: Gennadiy Rozental
Milestone: Boost 1.36.0 Component: test
Version: Boost 1.34.1 Severity: Problem
Keywords: Cc:

Description

This is a report from Debian user "Wesley J. Landaker" <wjl@…> See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413278

When using boost::test's auto unit test capabilities, boost itself generates the main function, and accepts a bunch of different options, such as --show_progress, --build_info, etc, as detailed at: http://www.boost.org/libs/test/doc/components/utf/parameters/index.html

Unfortunately, there is no easy way to get this list of arguments from the program itself, so you always need to keep the documentation up if you want to mess with any of these options.

To make this easier, please support a --help option that simply lists the set of valid arguments. This would be convienent for users, and also would better follow standards.

Change History (2)

comment:1 by Marshall Clow, 14 years ago

Component: Nonetest
Owner: set to Gennadiy Rozental

comment:2 by Gennadiy Rozental, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in a trunk some time ago

Note: See TracTickets for help on using tickets.