By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,199 Members | 1,077 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,199 IT Pros & Developers. It's quick & easy.

Using Python to unit test C code

P: n/a
Hi!
I would like to hear any information about how to unit test C code using Python.
Thanks!
Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hello,
I would like to hear any information about how to unit test C code using Python.
I never done it, but you can either generate a Python wrapper (using
SWIG, Boost.Python, Pyrex ...) and then test the wrapper, or directly
call the C module functions using ctypes.

HTH,
--
Miki <mi*********@gmail.com>
http://pythonwise.blogspot.com
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.