난 iOS개발자/UnitTest
Code Coverage 확인하기
김듀니
2022. 1. 30. 20:25
728x90
테스트코드가 앱의 실제 코드를 어느정도까지 테스트하고 있는지 그 진행도를 확인 할 수 있다.
1. Product -> Scheme -> Edit Scheme

2. Test -> Option
Code Coverage 에 Gather coverage 체크

3. CodeCoverage 확인
Command + U 단축키를 눌러 테스트 코드 실행 후 ReportNavigation탭으로 이동하면 Coverage가 보인다.

728x90