Re: [Boost-users] How to organize my Unit Tests
Mateusz �oskot wrote:
3. Include Boost.Test source code and allow user of my project to build UTF library on his own. Here I expect some problems with bjam/makefiles incompatibility. So, bjam would be required on user's platform. Simply, this solution seems to be quite confusing for user.
Hello Mateusz, One obsevation concerning 3th approach for using boost.test framework. You just can include #include
to your project and compile everything using your build system, isn't it?
Hi Dmitry, But what about building Unit Test Framework library? How should I provide building it? Using bjam (bjam would be requirement) or own home-made makefiles for UTF?
Cheers
It is for sure that I didn't build anything separate in boost (of cause
exept the "date_time" library ) and things more or less work for me.
I have just to projects in my solution - second is unit_test_framework
and I doesn't link with external boost libraries. You can try to compile
and execute the following code (without any external linking):
Good luck!
--dima
// BOOST_TEST_TEST.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
Dmitry Bufistov wrote:
Mateusz �oskot wrote:
3. Include Boost.Test source code and allow user of my project to build UTF library on his own. Here I expect some problems with bjam/makefiles incompatibility. So, bjam would be required on user's platform. Simply, this solution seems to be quite confusing for user.
Hello Mateusz, One obsevation concerning 3th approach for using boost.test framework. You just can include #include
to your project and compile everything using your build system, isn't it? Hi Dmitry, But what about building Unit Test Framework library? How should I provide building it? Using bjam (bjam would be requirement) or own home-made makefiles for UTF?
It is for sure that I didn't build anything separate in boost (of cause exept the "date_time" library ) and things more or less work for me. I have just to projects in my solution - second is unit_test_framework and I doesn't link with external boost libraries. You can try to compile and execute the following code (without any external linking):
Yes, today I tested this solution. Works well. Thanks -- Mateusz Łoskot http://mateusz.loskot.net
participants (2)
-
Dmitry Bufistov
-
Mateusz Łoskot