Skip to content

Seamless leak detection for iOS/macOS unit tests.

License

Notifications You must be signed in to change notification settings

grigorye/GELeaks

Repository files navigation

GELeaks

Seamless leak detection for unit tests.

Why

Laziness. Excersizing for memory leaks is boring. There're some naive ways to exercise any black box for memory leaks. Unit tests are already there.

If we can treat a test case as a black box, we can apply the naive ways to exercise it for memory leaks. Automate it.

Current Limitations

  • Only NSObject subclasses are checked.

TODOs

  • Support pure Swift classes

Usage

Add pod to test target (Podfile) or to test_spec subspec (podspec). Run the tests. Get leaks reported.

Third Parties Used