Unit Test Framework documentation/usage...

Hello, I've just started to play around with Boost and I thought that I could use the Unit Test Framework, hence I opened up the documentation page at: http://www.boost.org/libs/test/doc/components/unit_test_framework/index.html I found the section I was looking for: Usage. In that part I expected to find information what files are needed to be included and what libraries I have to link against - but not so. What do I have to do to *use* the Unit Test Framework? Thanks in advance!

Hello,
I've just started to play around with Boost and I thought that I could use
"Boost Rookie" <boostrookie@yahoo.com> wrote in message news:loom.20040927T121737-424@post.gmane.org... the
Unit Test Framework, hence I opened up the documentation page at:
http://www.boost.org/libs/test/doc/components/unit_test_framework/index.html
I found the section I was looking for: Usage. In that part I expected to
find
information what files are needed to be included and what libraries I have to link against - but not so.
What do I have to do to *use* the Unit Test Framework?
Thanks in advance!
This section does explain what you need to do to *use* Unit Test Framework (it may as well be already compiled and installed on your system). If you want to know how to compile it, there is a "Compilation" link on page above. Here is direct link: http://www.boost.org/libs/test/doc/components/unit_test_framework/compilatio... If you have any more question feel free to ask. Regards, Gennadiy.

At 09:44 2004-09-27, Gennadiy Rozental wrote:
"Boost Rookie" <boostrookie@yahoo.com> wrote in message news:loom.20040927T121737-424@post.gmane.org...
http://www.boost.org/libs/test/doc/components/unit_test_framework/index.html
[snip]
This section does explain what you need to do to *use* Unit Test Framework (it may as well be already compiled and installed on your system). If you want to know how to compile it, there is a "Compilation" link on page above. Here is direct link:
http://www.boost.org/libs/test/doc/components/unit_test_framework/compilatio...
If you have any more question feel free to ask.
Regards,
Gennadiy.
Is there a section comparing and contrasting the boost unit test to cppunit ( http://sourceforge.net/projects/cppunit/ )? Or any other junit clones? Looking over the docs they seem to be pretty close in how to use and such. Anything that people should be aware that is not so obvious?

<msew@ev1.net> wrote in message news:6.1.2.0.2.20040927110146.09317ed0@mail.ev1.net...
At 09:44 2004-09-27, Gennadiy Rozental wrote:
"Boost Rookie" <boostrookie@yahoo.com> wrote in message news:loom.20040927T121737-424@post.gmane.org...
http://www.boost.org/libs/test/doc/components/unit_test_framework/index.htm l
[snip]
This section does explain what you need to do to *use* Unit Test
Framework
(it may as well be already compiled and installed on your system). If you want to know how to compile it, there is a "Compilation" link on page above. Here is direct link:
http://www.boost.org/libs/test/doc/components/unit_test_framework/compilati on.html
If you have any more question feel free to ask.
Regards,
Gennadiy.
Is there a section comparing and contrasting the boost unit test to cppunit ( http://sourceforge.net/projects/cppunit/ )? Or any other junit clones? Looking over the docs they seem to be pretty close in how to use and such.
Anything that people should be aware that is not so obvious?
There are 3 main direction to look: 1. How framework help to write test cases 2. How framework help to manage test cases 3. How framework help to run test cases Here is situation as to last time I checked: 1. CppUnit basically incomparable in first one. It only provide basic checks and does not have facility like execution monitor 2. Boost.Test slightly better in managing test cases (it's more flexible) 3. CppUnit still better as to test running, mostly due to available GUIs. But, of course, it's only my opinion ;))) Regards, Gennadiy.

Gennadiy Rozental <gennadiy.rozental <at> thomson.com> writes:
This section does explain what you need to do to *use* Unit Test Framework
I thought that a usage section should describe how to use the library in a quick way, maybe examplified via a very elementary use-case including code, compile, link & run. That is usage for me as an end-user of a library. Especially since this makes it easy for a newbie like me to get started with a huge library like Boost.
http://www.boost.org/libs/test/doc/components/ unit_test_framework/compilation.html
Thanks for the link! This helped me. After I mailed my previous post I found a Visual Studio project containing a solution-file to build the Unit Test Framework. However, it failed to link... It tried to link against a unix_test_framework lib. I guess that was misspellled and should have read unit_test_framework. But when I changed that I ran into other troubles... But now it should be ok! Thanks a lot!
participants (3)
-
Boost Rookie
-
Gennadiy Rozental
-
msew@ev1.net