RE: [Boost-Users] Making boost/test pause so the console can be read when running the tester from an IDE.
Tried it. The "return test" line completes the creation of the tests, but not their execution. When that breakpoint is reached, the tests have not been run, so there is not output. -----Original Message----- From: Jeff Garland [mailto:jeff@crystalclearsoftware.com] Sent: Friday, November 01, 2002 2:37 PM To: Boost-Users@yahoogroups.com Subject: RE: [Boost-Users] Making boost/test pause so the console can be read when running the tester from an IDE.
My version of C++ builder does not pause to let me see console output. This makes it difficult to use boost/test while I am running the program from the IDE. The solution I found most useful, is to make the last test wait for the user to press enter. If anyone has solved this a different way, I would like to hear about it.
Set a breakpoint on return test... HTH, Jeff
Tried it. The "return test" line completes the creation of the tests, but not their execution. > When that breakpoint is reached, the tests have not been run, so there is not output.
Ah, right sorry. Not sure if all programs use this, but in boost/test/minimal.hpp is the 'main' for the program. So you should be able to set the breakpoint in there. Jeff
participants (2)
-
Jeff Garland
-
Sean Shubin