
"Paez, Juan"
Thanks for your answer.
I am using boost 1.33.1.
What I want to do is the following: If create a test suite named test_suite_1.h, I want to be able to send the logs to a particular file of parameters that I am reading at run time. At that moment I want to be able to set my log file with the filename I passed by parameter.
This is really what needs to go into suite level fixture. Right now you could just try to create a test case in every test suite that does only what you need and add it as first one.
Thanks,
Juan
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Gennadiy Rozental Sent: Friday, February 09, 2007 4:46 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] using unit_test_log
"Paez, Juan"
wrote in message Hello,
I new using boost. I am trying to setup a set of test cases to test some api. I would like to be able to use the logging facilities that boost provides through the unit_test_log class. I understand that from the command line you can set the logging parameters. However, I want to be able to set those
news:017630AA6DF2DF4EBC1DD4454F8EE2970A0238F8@rsana-ex-hq1.NA.RSA.NET... parameters
from inside the my program executing the test cases.
Yes. It's possible.
any ideas? Specifically, I want to be able to send the log output to specific files (the files change depending on the test suite I am running), the format, level, etc.
What version of Boost r u planning to use? Do you want log from different test suites go to the different files? Why want you split your test module in two and each has it's own dedicated log file?
Gennadiy
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users