Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/README.md

Issue 1924663004: Import web-platform-tests@c969f975ca64b67ebcdddfefa0ef1d7d82680d88 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add TestExpectations for web animations instead of skipping Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 The Web Platform Tests Project [![IRC chat](https://goo.gl/6nCIks)](http://irc.w 3.org/?channels=testing) 1 The Web Platform Tests Project [![IRC chat](https://goo.gl/6nCIks)](http://irc.w 3.org/?channels=testing)
2 ============================== 2 ==============================
3 3
4 The Web Platform Tests Project is a W3C-coordinated attempt to build a 4 The Web Platform Tests Project is a W3C-coordinated attempt to build a
5 cross-browser testsuite for the Web-platform stack. However, for mainly 5 cross-browser testsuite for the Web-platform stack. However, for mainly
6 historic reasons, the CSS WG testsuite is in a separate repository, 6 historic reasons, the CSS WG testsuite is in a separate repository,
7 [csswg-test](https://github.com/w3c/csswg-test). Writing tests in a way 7 [csswg-test](https://github.com/w3c/csswg-test). Writing tests in a way
8 that allows them to be run in all browsers gives browser projects 8 that allows them to be run in all browsers gives browser projects
9 confidence that they are shipping software that is compatible with other 9 confidence that they are shipping software that is compatible with other
10 implementations, and that later implementations will be compatible with 10 implementations, and that later implementations will be compatible with
11 their implementations. This in turn gives Web authors/developers 11 their implementations. This in turn gives Web authors/developers
12 confidence that they can actually rely on the Web platform to deliver on 12 confidence that they can actually rely on the Web platform to deliver on
13 the promise of working across browsers and devices without needing extra 13 the promise of working across browsers and devices without needing extra
14 layers of abstraction to paper over the gaps left by specification 14 layers of abstraction to paper over the gaps left by specification
15 editors and implementors. 15 editors and implementors.
16 16
17 Running the Tests 17 Running the Tests
18 ================= 18 =================
19 19
20 The tests are designed to be run from your local computer. The test 20 The tests are designed to be run from your local computer. The test
21 environment requires Python 2.7+ (but not Python 3.x). You will also 21 environment requires Python 2.7+ (but not Python 3.x). You will also
22 need a copy of OpenSSL. Users on Windows should read the 22 need a copy of OpenSSL. Users on Windows should read the
23 [Windows Notes](#windows-notes) section below. 23 [Windows Notes](#windows-notes) section below.
24 24
25 To get the tests running, you need to set up the test domains in your 25 To get the tests running, you need to set up the test domains in your
26 [`hosts` file](http://en.wikipedia.org/wiki/Hosts_%28file%29%23Location_in_the_f ile_system). The 26 [`hosts` file](http://en.wikipedia.org/wiki/Hosts_%28file%29%23Location_in_the_f ile_system). The
27 following entries are required: 27 following entries are required:
28 28
29 ``` 29 ```
30 127.0.0.1» web-platform.test 30 127.0.0.1 web-platform.test
31 127.0.0.1» www.web-platform.test 31 127.0.0.1 www.web-platform.test
32 127.0.0.1» www1.web-platform.test 32 127.0.0.1 www1.web-platform.test
33 127.0.0.1» www2.web-platform.test 33 127.0.0.1 www2.web-platform.test
34 127.0.0.1» xn--n8j6ds53lwwkrqhv28a.web-platform.test 34 127.0.0.1 xn--n8j6ds53lwwkrqhv28a.web-platform.test
35 127.0.0.1» xn--lve-6lad.web-platform.test 35 127.0.0.1 xn--lve-6lad.web-platform.test
36 0.0.0.0 nonexistent-origin.web-platform.test
36 ``` 37 ```
37 38
38 Because web-platform-tests uses git submodules, you must ensure that 39 Because web-platform-tests uses git submodules, you must ensure that
39 these are up to date. In the root of your checkout, run: 40 these are up to date. In the root of your checkout, run:
40 41
41 ``` 42 ```
42 git submodule update --init --recursive 43 git submodule update --init --recursive
43 ``` 44 ```
44 45
45 The test environment can then be started using 46 The test environment can then be started using
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 [contributing]: https://github.com/w3c/web-platform-tests/blob/master/CONTRIBUTI NG.md 243 [contributing]: https://github.com/w3c/web-platform-tests/blob/master/CONTRIBUTI NG.md
243 [ircw3org]: https://www.w3.org/wiki/IRC 244 [ircw3org]: https://www.w3.org/wiki/IRC
244 [ircarchive]: http://krijnhoetmer.nl/irc-logs/testing/ 245 [ircarchive]: http://krijnhoetmer.nl/irc-logs/testing/
245 [mailarchive]: http://lists.w3.org/Archives/Public/public-test-infra/ 246 [mailarchive]: http://lists.w3.org/Archives/Public/public-test-infra/
246 247
247 Documentation 248 Documentation
248 ============= 249 =============
249 250
250 * [How to write and review tests](http://testthewebforward.org/docs/) 251 * [How to write and review tests](http://testthewebforward.org/docs/)
251 * [Documentation for the wptserve server](http://wptserve.readthedocs.org/en/lat est/) 252 * [Documentation for the wptserve server](http://wptserve.readthedocs.org/en/lat est/)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698