Skip to content

Commit 7797825

Browse files
committed
updated test readme
1 parent 3094390 commit 7797825

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

tests/README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,25 @@
22
This directory contains the i18n plugin tests.
33

44
## Setup
5-
Before starting, install Intern, Grunt and RequireJS by running
5+
Before starting, install Intern and RequireJS by running
66

77
```
88
$ npm install
99
```
1010

11-
## Running the unit and functional tests locally
11+
Also, if you are going to run against Sauce Labs, then
12+
setup your SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables as they are listed
13+
on https://saucelabs.com/appium/tutorial/3.
14+
15+
16+
## Running the functional tests in Sauce Labs
17+
18+
Run:
19+
20+
```
21+
$ node node_modules/intern/runner.js config=tests/sauce
22+
```
23+
## Running the functional tests locally
1224

1325
1) Download selenium server 2.37.0 (http://www.seleniumhq.org/download/) and start it on the default port (4444):
1426

@@ -21,5 +33,5 @@ $ java -jar selenium-server-standalone-2.37.0.jar
2133
3) Run the tests:
2234

2335
```
24-
$ grunt intern
25-
```
36+
$ node node_modules/intern/runner.js config=tests/locale
37+
```

0 commit comments

Comments
 (0)