link pytest with valgrind to detect memory leaks in the C++ code

Job ID: 35032371

Budget: $10 – $30 USD

I have a python test which runs a c++ code , I have deliberately introduce memory leak in the c++ code.
when i run the valgrind against the c++ code , I am able to detect memory leaks
But when I run the valgrind with pytest ( which calls the c++ code) , Valgrind is not able to detect the definately leaks in the c++ code
Related categories: C Programming Python C++ Programming