-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
There is some testing for memory leaks currently in Centrallix-Lib, but this could be expanded to be more thorough. The general idea is to perform an operation 3 times (or more?) and make sure the memory allocation situation is the same after each repeat. Some acceptable exceptions may need to be whitelisted.
It may be worth looking into whether there is some way to automatically add memory leak checking to existing unit tests, so the same operations don't have to be set up, torn down, etc in multiple places (to check for memory leaks and to do other unit testing). If that's not possible though, test helpers / utilities could help with that problem.