OLD | NEW |
| (Empty) |
1 INSTALLING TROOPER-O-MATIC | |
2 ========================== | |
3 | |
4 1. Install the App Engine SDK for Python | |
5 (https://developers.google.com/appengine/downloads) | |
6 | |
7 2. Install bower | |
8 (npm install bower) | |
9 | |
10 3. Install dependencies | |
11 (bower install) | |
12 | |
13 4. Install WebTest | |
14 (sudo easy_install WebTest) | |
15 | |
16 UPDATING TROOPER-O-MATIC | |
17 ======================== | |
18 | |
19 In addition to updating your git repository, be sure to update any bower | |
20 dependencies (bower update). | |
21 | |
22 RUNNING TROOPER-O-MATIC LOCALLY | |
23 =============================== | |
24 | |
25 dev_appserver.py . | |
26 | |
27 TESTING | |
28 ======= | |
29 | |
30 From the infra/ directory: | |
31 ./test.py "*trooper_o_matic*" | |
32 | |
33 Mocha (new-style) tests | |
34 ----------------------- | |
35 | |
36 The tests can be run in the browser or from the command line. | |
37 | |
38 In the browser: http://localhost:8000/test/run-unit-tests.html | |
39 | |
40 From the command line: | |
41 | |
42 $ make test | |
43 | |
44 This will launch karma, run the tests and watch the source files for | |
45 changes. To run once and exit, use: | |
46 | |
47 $ make single-test | |
48 | |
49 Or, you can start karma manually: | |
50 | |
51 $ ./node_modules/karma/bin/karma start | |
52 | |
53 You can shorten this command to 'karma start' if you run | |
54 'npm install -g karma-cli'. | |
55 | |
OLD | NEW |