Archive for January, 2008

Memory Leak Unit Test

Monday, January 7th, 2008

(or Programmatically Detecting Memory Leaks in AS3 via Unit Tests)

I've been writing unit tests for a class that deals with the loading/unloading of different types of media files. One of the tests I would like to have is a check for memory leaks. This is especially important now that we have automated our builds, so we can known instantly if a new change in the code doesn't break the behavior we're expecting.

(more...)