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

skip at pobox.com skip at pobox.com
Thu Dec 22 10:41:55 EST 2005


    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 from your C++ library and it
will by dynamically linked against the library's .so (or .dll).

Skip



More information about the Python-list mailing list