Boost logo

Boost Users :

From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-05-01 15:33:11


Hey guys,

I'm currently in the process of researching Boost.Test. I've never used it
before, and reading through the documentation for it and the various
examples, I have a few questions I can't find the answers to. I'll post them
below:

   1. init_unit_test_suite is used fairly exclusively through the
   examples. The most I can gather is that this function begins the unit test.
   In other words, it calls other smaller functions which perform tests. How is
   this function evoked?
   2. What is the difference in using init_unit_test_suite versus using #define
   BOOST_TEST_MAIN?
   3. When creating a unit test as a console application in Visual
   Studio, I would of course be required to implement the normal int
   main() function, but what would I have to do inside of main() or
   WinMain() to begin the unit test? I never found any examples that
   showed this.

If I think of more questions I'll be sure to post follow ups. Help is
greatly appreciated. Thanks in advance!



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