I have recently started using tcl to do this with C++ code and will
soon be switching to doing it with python.
I think it is a fantastic way to arrange to test C++ and C code.
Python makes an excellent test-harness, and writing interfaces for
complex units of C++ code to enable them to be tested f
>[EMAIL PROTECTED] wrote:
> A simple question - Is it common/good practice to test C code using
> Python?
I certainly do such testing (hand-wrapped, because it doesn't
seem to cost too much time to do so. Usually I develop in Python
and accumulate my tests there, then write the C equivalent, and
On 11/10/05, Peter Hansen <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > A simple question - Is it common/good practice to test C code using
> > Python? For example one could wrap individual C functions, and test
> > each of them using python, maybe not for low-level things but at least
[EMAIL PROTECTED] wrote:
> A simple question - Is it common/good practice to test C code using
> Python? For example one could wrap individual C functions, and test
> each of them using python, maybe not for low-level things but at least
> for algorithmic correctness. Anyone effectively doing this
Hi,
A simple question - Is it common/good practice to test C code using
Python? For example one could wrap individual C functions, and test
each of them using python, maybe not for low-level things but at least
for algorithmic correctness. Anyone effectively doing this as common
practice?
Thanks,