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.htm and then write Python code to do the tests, preferably using an available Python testing framework. this page mentions some of them: http://www.effbot.org/pyfaq/how-do-i-test-a-python-program-or-component.htm http://docs.python.org/lib/module-doctest.html http://docs.python.org/lib/module-unittest.html </F> -- http://mail.python.org/mailman/listinfo/python-list