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
+21-10
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ Change into your local repo clone and install packages using following commands:
21
21
22
22
First two commands will make test and build tools available (sudo may not be necessary if you installed node.js through homebrew). The third command will install all app dependencies.
23
23
24
-
To avoid a security dialog that can appear when launching your iOS app, you need to modify your /etc/authorization file. You can do this by settings the element following <allow-root> under <key>system.privilege.taskport</key> to <true/> or by running the supplied python script (at your own risk)
24
+
To avoid a security dialog that can appear when launching your iOS app, you need to modify your /etc/authorization file. You can do this by settings the element following <allow-root> under <key>system.privilege.taskport</key> to <true/> or by running the supplied grunt task (at your own risk)
25
25
26
-
> sudo python authorize.py
26
+
> sudo grunt authorize
27
27
28
28
Quick Start
29
29
-----------
@@ -36,20 +36,19 @@ Build an app:
36
36
> grunt buildApp:UICatalog
37
37
> grunt buildApp:TestApp
38
38
39
-
Start it:
40
-
41
-
> grunt appium:TestApp &
42
-
43
-
Run functional tests (make sure Appium server is not running as this command
44
-
runs it for the duration of the test):
39
+
Run functional tests against TestApp:
45
40
46
41
> grunt functional
47
42
48
-
Run unit tests:
43
+
Run unit tests against TestApp:
49
44
50
45
> grunt unit
51
46
52
-
Run all tests:
47
+
Run tests against UICatalog:
48
+
49
+
> grunt uicatalog
50
+
51
+
Run all tests against TestApp and UICatalog:
53
52
54
53
> grunt test
55
54
@@ -61,6 +60,18 @@ Before commiting code please run grunt to run test and check your changes agains
61
60
62
61
Done, without errors.
63
62
63
+
More things
64
+
-----------
65
+
If you want to run the appium server and have it listen indefinitely, you can
66
+
do one of the following:
67
+
68
+
> grunt appium:TestApp
69
+
> grunt appium:UICatalog
70
+
71
+
Then you can, e.g., run individual testfiles using Mocha directly:
0 commit comments