Showing posts from 2018

Test cases code coverage in Xcode

How to check what percentage of unit test cases cover your classes/framework/project:- After writing unit test cases, make sure your all test cases run successfully. To cross check this, Goto Product menu->Perform action-> Test without buildingGoto Edit scheme: Select Test and select the "Gather coverage data" option.To see the code coverage, perform step no 1 once again.Open the last tab(report navigator) on the left panel.Open the coverage tab(at the top panel)