#メモリリークしているかテストするのが容易なライブラリー
XCTAssertNoLeak
Provides memory leak test cases for Swift.
Found memory leak objects from traverse object tree using Mirror.
Support version
Swift | Support | Note |
---|---|---|
5.0 | ○ | - |
4.2 (Xcode 10.2) | ○ | - |
4.2 (Xcode 10.1) | × | SR-8878 |
4.1 | ○ | - |
Instration
Carthage
github "tarunon/XCTAssertNoLeak"
CocoaPods
Write it below Pods for testing.
pod 'XCTAssertNoLeak'