How to do unit testing

Xcode Version 12.0 (12A7209)

The help system is out dated and is showing things I do not have in my Xcode.

It has me:
  • Press '+' in Test Navigator. OK

  • Choose New Unit Test Class or New UI Test Class from the pop-up menu. OK

  • Enter a name for the class in the Class field OK

  • Choose a superclass from the “Subclass of” pop-up menu. By default, classes are subclasses of XCTestCase NOTOK. I do not see this option

  • Choose a programming language from the Language pop-up menu. OK

  • Click the Next button NOTOK I have a Finish button

  • Select a destination, group, and test target NOTOK I do not have these options

  • Click the Create button NOTOK. Obviously!

Thi sis a road block. No documentation I can find online bears a direct relationship with what I have here on my (very expensive) computer



Does your project have a unit tests target?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Yes. As I said that was part of the process that worked: Choose New Unit Test Class or New UI Test Class from the pop-up menu. OK

W
How to do unit testing
 
 
Q