I\'m trying to implement unit testing for my code and I\'m having a hard time doing it.
Ideally I would like to test some classes not only for good functionality but
You might be able to detect memory leak on tests by providing your own implementation of new, delete, malloc and free functions, by adding memory tracking informations on allocation.