Quick is an XCTest-based testing framework for Swift and Objective-C. It provides convenient and straightforward way to write unit tests. In Quick, the whole test is defined in the spec() function which consists of three sections: describe, context, and it. Quick comes together with Nimble — a framework that provides matching and assertion functions.
When you run/debug a test case with the ⇧F10 / ⇧F9 shortcuts or by clicking the gutter icons in the editor, AppCode creates a temporary configuration automatically. You can edit and save this configuration later on if necessary.
You can also create this configuration manually:
From the main menu, select Run | Edit Configurations.
In the dialog that opens, click on the toolbar or press ⌘N .
Select XCTest from the list of templates that opens.
If you need a particular test class or method to be selected, in the Class field, enter the test class name. AppCode will suggest available classes as you type. When a class is selected, you can start typing the name of the method of this class in the Method field and choose one from the suggested variants.
Leave Class and Method fields empty to have all classes and methods selected.
In the Target field, your test target is preselected. Change it if necessary.