Subject: [Boost-bugs] [Boost C++ Libraries] #7417: It is not possible to
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-24 15:59:12
#7417: It is not possible to
------------------------------------------------+---------------------------
Reporter: Jamie Allsop <ja11sop@â¦> | Owner: rogeeff
Type: Patches | Status: new
Milestone: To Be Determined | Component: test
Version: Boost Development Trunk | Severity: Problem
Keywords: |
------------------------------------------------+---------------------------
Currently with Boost.Test it is not possible to use the test output to
show detailed live test progress. By detailed I mean, test status, number
of passed assertions and total number of assertions. This is because:
1. Only basic status information is provided through `stdout` (the
Boost.Test log) as tests are proceeding. Notably just whether a test has
started or a test has finished.
2. Detailed information is accessible by accessing the test report
information captured as part of the Boost.Test report functionality which
is typical sent to `stderr`.
3. Report data is only output when all tests are complete therefore this
information cannot be used for live reporting. In other words a solution
is not to listen on both `stdout` and `stderr`
The attached patch adds additional test status information to the
information sent to stdout - the Boost.Test log. This allows arbitrary
test tools to be developed that interpret the test output for live test
progress reporting.
We use one such tool based on scons that allows us to view live test
progress on the console. This is not possible with the current Boost.Test
since detailed test status is not available until all cases have
completed.
This patch compliments the patches attached to:
[[TicketQuery( id=7397|7410 )]]
and taken together allows for sophisticated test tools to be built on top
of the Boost.Test output.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7417> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC