Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old January 11th, 2006, 07:45 AM
sylcheung@gmail.com
Guest
 
Posts: n/a
Default Unit Test Framework for c++ program

Hi,

Does anyone has any suggestion for Unit Test Framework for c++ program?

Is there any framework which let me use some script languages (e.g.
python) to write the test cases to test c++ program?

Thanks in advance.

  #2  
Old January 11th, 2006, 08:15 AM
Mark P
Guest
 
Posts: n/a
Default Re: Unit Test Framework for c++ program

sylcheung@gmail.com wrote:[color=blue]
> Hi,
>
> Does anyone has any suggestion for Unit Test Framework for c++ program?
>
> Is there any framework which let me use some script languages (e.g.
> python) to write the test cases to test c++ program?
>
> Thanks in advance.
>[/color]

perhaps, www.swig.org
or google cppunit
  #3  
Old January 11th, 2006, 08:25 AM
Fabio Fracassi
Guest
 
Posts: n/a
Default Re: Unit Test Framework for c++ program

sylcheung@gmail.com wrote:
[color=blue]
> Hi,
>
> Does anyone has any suggestion for Unit Test Framework for c++ program?
>
> Is there any framework which let me use some script languages (e.g.
> python) to write the test cases to test c++ program?
>
> Thanks in advance.[/color]

Don't know about how they connect with scripting languages, but you can get
unit testing from
Boost ( "Boost Test", http://boost.org/libs/test/doc/)
and Trolltech's Qt contains basic unit testing in their 4.x releases.
(http://doc.trolltech.com/solutions/4...ib-manual.html)

HTH

Fabio

  #4  
Old January 11th, 2006, 08:35 AM
dc
Guest
 
Posts: n/a
Default Re: Unit Test Framework for c++ program

I would recommend to use C++ to test C++. And the best freely available
framework is CPPunit.
http://sourceforge.net/projects/cppunit

Other simple frameworks r available too.. like cxxtest, cutee...

  #5  
Old January 11th, 2006, 11:05 AM
Ben Pope
Guest
 
Posts: n/a
Default Re: Unit Test Framework for c++ program

sylcheung@gmail.com wrote:[color=blue]
> Hi,
>
> Does anyone has any suggestion for Unit Test Framework for c++ program?[/color]

Boost.Test.
[color=blue]
> Is there any framework which let me use some script languages (e.g.
> python) to write the test cases to test c++ program?[/color]

Boost.Python.

Gotta love Boost. Enjoy.

Ben Pope
--
I'm not just a number. To many, I'm known as a string...
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles