The Xcode Test navigator shows a list of test case classes.
I want to delete a test case class because it\'s no longer needed.
I\'ve tried many typical approach
You can add and remove tests to the project easily using the class target membership checkbox. Find the class file in the Project Navigator and select it, then in the Utilities pane, click on the File Inspector and you will see a checkbox for target membership. You can toggle it on and off in there.