Memory leak Unit Test
-
Hello,
Is there a way to check in QT in one unit test that all the RAM memory before and after some code is the same?
This is to make sure there is no memory leak in some methods.
Cheers, -
Unit tests are not about finding memory leaks, usually. You can check for them using tools like valgrind.
-
Hello sierdzio,
For me, Valgrind is more to find out what causes the memory leak :)
I am looking for a way to check there is no memory leak in a automaticunit test for single methods.
Cheers,