Skip to content

Commit 6ff8d53

Browse files
authored
Add files via upload
1 parent ee8a267 commit 6ff8d53

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

readme1.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
# Unit Testing in Xcode
3+
4+
To get started, we are going to create a blank iOS project. You will want to have the include unit tests checkbox checked.
5+
6+
![Image 1] (https://ibb.co/Mhd6bbD)
7+
8+
##### If already have project, and want to add unit test
9+
10+
1. Go to File > New > Target.
11+
2. Select Unit Testing Bundle.
12+
3. Click Next.
13+
14+
![Image 2] (https://ibb.co/WgpM4Q3)
15+
16+
### Running Unit Test in XCode
17+
18+
Now that you have the unit test target in your project, you can run the tests from the menu bar with Product > Test or just use the keyboard shortcut:⌘U.
19+
20+
When the tests finish, you should see green checkmarks in the Test Navigatorin the left pane (⌘6) indicating that the tests passed.
21+
22+
![Image 3] (https://ibb.co/gvkPPgL)

0 commit comments

Comments
 (0)