OLD | NEW |
1 Custom web components and tests | 1 Custom web components and tests |
2 ======== | 2 ======== |
3 | 3 |
4 This directory contains Polymer elements and their unit tests. | 4 This directory contains Polymer elements and their unit tests. |
5 | 5 |
6 How to run single tests | 6 How to run the tests |
7 -------- | 7 -------- |
8 | 8 |
9 1. Start a local HTTP server, e.g. using `python -m SimpleHTTPServer 8081`. | 9 1. Start the Catapult dev server at catapult/bin/run_dev_server |
10 Other local HTTP servers also work, for example http-server which can | 10 2. Click on "dashboard" under "Run Unit Tests" |
11 be installed with `npm install -g http-server`. | |
12 2. Navigate to one of the individual test HTML files. | |
13 | |
14 How to run all tests | |
15 -------- | |
16 | |
17 Not implemented yet; in the future, this should be done similarly to | |
18 [the trace-viewer project](https://github.com/google/trace-viewer). | |
OLD | NEW |