4 ms·
From the comments below, it sounds like interfacing my C++ code with python using Cppyy would sacrifice performance. Even so this will be awesome for unit test
by backslash_16 7y ago
From the comments below, it sounds like interfacing my C++ code with python using Cppyy would sacrifice performance.
Even so this will be awesome for unit testing. I really like the testing interface pytest provides, along with its parametrized tests.
Anyone else using python to test the logic their C/C++ code? I can't think of how I would test the memory allocation and freeing portion. Anyone think it's a bad idea?
- rightbyte 7y agoThe fuzz converting data types back and forth is probably not worth it. But one can test the interface to the program nicely from python (i.e. text or socket i/o).