Re: Is it possible to use python to unit test C++ code?

2006-10-29 Thread Fredrik Lundh
Liu HuaDong-E6754C wrote: > Did any one used python to do C++ unit test? > If u did, could u give some actions how to do unit test by using python. use a standard tool to generate a binding for the relevant C++ libraries: http://www.effbot.org/pyfaq/how-do-i-interface-to-c-objects-from-python.ht

Is it possible to use python to unit test C++ code?

2006-10-29 Thread Liu HuaDong-E6754C
    Did any one used python to do C++ unit test? If u did, could u give some actions how to do unit test by using python.     [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Is it possible to use python to unit test C++ code?

2005-12-22 Thread Giles Brown
I have used the Python version of this: http://cxxtest.sourceforge.net/ unit testing framework successfully (but not heavily). Hth, Giles Brown -- http://mail.python.org/mailman/listinfo/python-list

Re: Is it possible to use python to unit test C++ code?

2005-12-22 Thread skip
samuel> Thanks. When I use python to unit test my c++ code. Do I need samuel> only the .o file? or I need the .c/.h files of the c++ code? If samuel> the input is .c/.h files, how can I compile it for unit testing samuel> purposes? Your wrapper module will need the header files

Re: Is it possible to use python to unit test C++ code?

2005-12-21 Thread skip
sylcheung> Is it possible to use python to unit test C++ code? If yes, sylcheung> is there any example available? Yes, it's quite possible. Some people even do it. ;-) As for examples, take a look at Python's own test suite. Much of the code it contains actually tests

Re: Is it possible to use python to unit test C++ code?

2005-12-21 Thread keirr
[EMAIL PROTECTED] wrote: > Is it possible to use python to unit test C++ code? If yes, is there > any example available? > If I had to use python to test C++ code, I'd use the Boost python library: http://www.boost.org/libs/python/doc/ to expose my C++ classes, and write the unitt

Re: Is it possible to use python to unit test C++ code?

2005-12-21 Thread Alex Stapleton
On 21 Dec 2005, at 09:33, [EMAIL PROTECTED] wrote: > Is it possible to use python to unit test C++ code? If yes, is there > any example available? > > Thank you. > > -- > http://mail.python.org/mailman/listinfo/python-list You could use Python to unittest a Python mo

Is it possible to use python to unit test C++ code?

2005-12-21 Thread sylcheung
Is it possible to use python to unit test C++ code? If yes, is there any example available? Thank you. -- http://mail.python.org/mailman/listinfo/python-list