Boost logo

Boost Users :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2008-05-05 01:09:37


> "Robert Dailey"
> Currently in Visual Studio, running a console application as a unit test
> results in the dialog immediately
> disappearing after it is done executing, regardless of success or failure.
> In both cases, I would like for the
> console dialog to pause, as it does with a call to system( "pause" );. Is
> there some preprocessor directive I can
> define to make this happen? Since Boost.Test is a framework, it is the
> responsibility of boost to do this. If it
> doesn't do it at all, I could just as easily go into the source code and
> add that logic myself if I need to.

I am not 100% sure I understand your problem. There are several ways to see
test output.
1. Use Ctrl+f5. The output window stays.
2. Use post build event. The output is in your IDE.
3. During debug, set a breakpoint in exit from main()

HTH,

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net