Using Python to unit test C code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Florencio Cano

    Using Python to unit test C code

    Hi!
    I would like to hear any information about how to unit test C code using Python.
    Thanks!
  • Miki

    #2
    Re: Using Python to unit test C code

    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 <miki.tebeka@gm ail.com>
    If it won't be simple, it simply won't be. [Hire me, source code]

    Comment

    Working...