You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-38Lines changed: 12 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,21 @@ See KIF in Action
36
36
37
37
KIF uses techniques described below to validate its internal functionality. You can see a test suite that exercises its entire functionality by simply building and testing the KIF scheme with ⌘U. Look at the tests in the "Tests" group for ideas on how to build your own tests.
⚠️ CocoaPods is no longer supported and will not be receiving new updates
53
+
42
54
[CocoaPods](http://cocoapods.org) are the easiest way to get set up with KIF.
43
55
44
56
The first thing you will want to do is set up a test target you will be using for KIF. You may already have one named *MyApplication*_Tests if you selected to automatically create unit tests. If you did, you can keep using it if you aren't using it for unit tests. Otherwise, follow these directions to create a new one.
@@ -61,33 +73,6 @@ end
61
73
62
74
After running `pod install` complete the tasks in [**Final Test Target Configurations**](#final-test-target-configurations) below for the final details on getting your tests to run.
63
75
64
-
Installation (from GitHub)
65
-
--------------------------
66
-
67
-
To install KIF, you'll need to link the libKIF static library directly into your application. Download the source from the [kif-framework/KIF](https://github.com/kif-framework/KIF/) and follow the instructions below. The screenshots are from Xcode 6 on Yosemite, but the instructions should be the same for Xcode 5 or later on any OS version.
68
-
69
-
We'll be using a simple project as an example, and you can find it in `Documentation/Examples/Testable Swift` in this repository.
The first step is to add the KIF project into the ./Frameworks/KIF subdirectory of your existing app. If your project uses Git for version control, you can use submodules to make updating in the future easier:
If you're not using Git, simply download the source and copy it into the `./Frameworks/KIF` directory.
84
-
85
-
### Add KIF to Your Workspace
86
-
Let your project know about KIF by adding the KIF project into a workspace along with your main project. Find the `KIF.xcodeproj` file in Finder and drag it into the Project Navigator (⌘1).
87
-
88
-

89
-
90
-
91
76
### Create a Testing Target
92
77
You'll need to create a test target for your app. You may already have one named *MyApplication*Tests if you selected to automatically create unit tests when you created the project. If you did, you can keep using it if you aren't using it for unit tests. Otherwise, follow these directions to create a new one.
93
78
@@ -110,17 +95,6 @@ KIF takes advantage of Objective C's ability to add categories on an object, but
110
95
111
96
Read **Final Test Target Configurations** below for the final details on getting your tests to run.
112
97
113
-
Installing Accessibility Identifier Tests
114
-
-----------------------------------------
115
-
116
-
Normally you identify a UI element via its accessibility label so that KIF simulates the interactions of a real user as closely as possible. In some cases, however, you may have to use accessibility identifiers, which are not exposed to users. If using CocoaPods, install the additional identifier-based Tests via the Identifier CocoaPods subspec:
117
-
118
-
```
119
-
pod 'KIF/IdentifierTests'
120
-
```
121
-
122
-
If not using CocoaPods, the identifier-based Tests can be added by including "KIFUITestActor-IdentifierTests.h".
0 commit comments