Skip to content

Automated memory leak testing #36

@sheesania

Description

@sheesania

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions