0
Commit Graph

25 Commits

Author SHA1 Message Date
raphael.kubo.da.costa
21ed71af85 web_platform_tests.md: Fix typo in the documentation.
Add a missing 's' to "goals".

R=foolip@chromium.org,jeffcarp@chromium.org,qyearsley@chromium.org

Review-Url: https://codereview.chromium.org/2807393004
Cr-Commit-Position: refs/heads/master@{#463988}
2017-04-12 10:50:44 +00:00
Quinten Yearsley
fab627a9bb Update builder name w3c-test-autoroller -> wpt-importer (src repo)
Bug: 706499

Change-Id: Ia649d35f81089eee35f5fb8aab88cd55502a2a6e
Reviewed-on: https://chromium-review.googlesource.com/462339
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#460785}
2017-03-30 16:14:07 +00:00
Jeff Carpenter
abd1360936 Add docs for WPT Exporter and explain how to disable it
Bug: 705561, 693821
Change-Id: I682573698ac7c053c44962846744c510b88f4e18
Reviewed-on: https://chromium-review.googlesource.com/462042
Commit-Queue: Jeff Carpenter <jeffcarp@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#460603}
2017-03-30 00:46:10 +00:00
Jeff Carpenter
eb1ff6b205 Add MANIFEST.json to .gitignore, regenerate it from template in test runner
This solves 2 problems:

1. Regenerating MANIFEST.json is failing on ToT (bug 697207)
- Now that MANIFEST.json is in .gitignore, regeneration works
2. Regenerating adds MANIFEST.json to MANIFEST.json (bug 683485)
- MANIFEST.json no longer shows up in MANIFEST.json

BUG=697207,666957,683485

Change-Id: I09987b66027e1f94055888c8ead58e7e40896d62
Reviewed-on: https://chromium-review.googlesource.com/447959
Commit-Queue: Jeff Carpenter <jeffcarp@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#454454}
2017-03-03 00:48:43 +00:00
foolip
2f19855a57 Call out the importance of the --work argument for wpt manifest
R=qyearsley@chromium.org

Review-Url: https://codereview.chromium.org/2717643002
Cr-Commit-Position: refs/heads/master@{#452848}
2017-02-24 16:42:35 +00:00
foolip
eda32ab004 Link to new web-platform-tests.org documentation from our own
Many pages of testthewebforward.org now redirect, so replace links with
something appropriate from the new documentation.

Since the new documentation consistently says "web-platform-tests"
instead of "Web Platform Tests" and this is what folks like jgraham tend
to write as well, align our own usage with that.

BUG=657117

Review-Url: https://codereview.chromium.org/2696323003
Cr-Commit-Position: refs/heads/master@{#451045}
2017-02-16 19:21:58 +00:00
qyearsley
23599b7624 Fix some links in documentation related to layout tests.
Review-Url: https://codereview.chromium.org/2695963006
Cr-Commit-Position: refs/heads/master@{#451037}
2017-02-16 19:10:42 +00:00
foolip
df2a863bb9 Update web-platform-tests docs
These updates address a number of issues that have come up in the past
week since the 2-way process was launched. See:
https://groups.google.com/a/chromium.org/d/msg/blink-dev/QIRcSgN9AK4/0JY58rBhCAAJ
https://groups.google.com/a/chromium.org/d/msg/platform-predictability/SBnz6Um7y2A/pDXVSOrpDwAJ

Drive-by: fix section links in other documentation.

BUG=657117
R=rbyers@chromium.org

Review-Url: https://codereview.chromium.org/2695963002
Cr-Commit-Position: refs/heads/master@{#450696}
2017-02-15 15:03:16 +00:00
foolip
bbd0f45dec Link to web_platform_tests.md where appropriate
R=qyearsley@chromium.org,rbyers@chromium.org

Review-Url: https://codereview.chromium.org/2689843002
Cr-Commit-Position: refs/heads/master@{#449799}
2017-02-11 00:09:53 +00:00
qyearsley
9c9781a50e Clarify documentation about importing new WPT directories.
This CL also adds a section about what kinds of changes
will be upstreamed, and the contributing guidelines for
web-platform-tests.

Review-Url: https://codereview.chromium.org/2681293004
Cr-Commit-Position: refs/heads/master@{#449798}
2017-02-11 00:08:39 +00:00
rbyers
6299b9132a Update and slighly expand WPT docs
See https://groups.google.com/a/chromium.org/d/msg/platform-predictability/SBnz6Um7y2A/pDXVSOrpDwAJ
for more discussion.

Review-Url: https://codereview.chromium.org/2690553003
Cr-Commit-Position: refs/heads/master@{#449658}
2017-02-10 18:06:57 +00:00
tapted
f38739a13a Markdown docs for TestBrowserDialog
TestBrowserDialog landed in r440240 and is ready for wider use. Excerpt:

  `TestBrowserDialog` provides a way to register an `InProcessBrowserTest`
  testing harness with a framework that invokes Chrome browser dialogs in
  a consistent way.

The contents are taken from the public doc on chromium.org at https://goo.gl/EFz4r2

BUG=654151

Review-Url: https://codereview.chromium.org/2684513002
Cr-Commit-Position: refs/heads/master@{#449200}
2017-02-09 04:34:52 +00:00
qyearsley
7b458d5fa7 Remove extra brackets in docs/testing/web_platform_tests.md.
This is a follow-up to https://crrev.com/2660083002/.

BUG=665494

Review-Url: https://codereview.chromium.org/2668283002
Cr-Commit-Position: refs/heads/master@{#447794}
2017-02-02 17:51:15 +00:00
qyearsley
4f0acca4ba Check in documentation for WPT import/export to //docs.
Copied from:
https://sites.google.com/a/chromium.org/dev/blink/importing-the-w3c-tests
and then edited and updated.

BUG=665494

Review-Url: https://codereview.chromium.org/2660083002
Cr-Commit-Position: refs/heads/master@{#446964}
2017-01-30 08:18:43 +00:00
foolip
339204d031 Update a few references to imported/wpt (now external/wpt)
In pointerevent_touch-action-verification.html the included script isn't
needed to pass the test, so just drop it.

BUG=678788
R=qyearsley@chromium.org

Review-Url: https://codereview.chromium.org/2658093004
Cr-Commit-Position: refs/heads/master@{#446767}
2017-01-27 21:10:17 +00:00
pwnall
59aadcb2e9 Separate layout test docs stating facts from guidelines.
BUG=

Review-Url: https://codereview.chromium.org/2636213003
Cr-Commit-Position: refs/heads/master@{#446491}
2017-01-26 23:27:21 +00:00
dpranke
d2b7d6442f Tweak the descriptions of the various types of layout tests.
This CL adjusts the work in r434842 to better describe the
differences between pixel tests and render tree tests and when
you want one or the other. It also gets rid of the "DumpRenderTree"
terminology since we don't really use that any more.

R=pwnall@chromium.org, me@gsnedders.com
BUG=665494

Review-Url: https://codereview.chromium.org/2547463003
Cr-Commit-Position: refs/heads/master@{#443810}
2017-01-15 04:00:24 +00:00
ktyliu
e0bb9884e4 Revert of Remove <title> in writing_layout_tests documentation (patchset id:20001 of https://codereview.chromium.org/2617083002/ )
Reason for revert:
pwnall@ pointed out that <title> is used in next_default_test_name()

Original issue's description:
> Remove <title> in writing_layout_tests documentation as it
> doesn't appear in test results (thanks to Alan for pointing it out).
>
> Instead we should focus on writing good test descriptions.
>
> BUG=
>
> Review-Url: https://codereview.chromium.org/2617083002
> Cr-Commit-Position: refs/heads/master@{#441876}
> Committed: f0c6c6901e

TBR=alancutter@chromium.org,thakis@chromium.org,sashab@chromium.org,pwnall@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=

Review-Url: https://codereview.chromium.org/2624533003
Cr-Commit-Position: refs/heads/master@{#442446}
2017-01-10 01:47:50 +00:00
ktyliu
f0c6c6901e Remove <title> in writing_layout_tests documentation as it
doesn't appear in test results (thanks to Alan for pointing it out).

Instead we should focus on writing good test descriptions.

BUG=

Review-Url: https://codereview.chromium.org/2617083002
Cr-Commit-Position: refs/heads/master@{#441876}
2017-01-06 04:54:17 +00:00
pwnall
e781948d69 Minor fixes for layout test writing documentation.
The main reason for this CL is to change the recommended path for
accessing testharness.js from HTTP tests. The file can be accessed using
both the old path (/js-test-resources/testharness.js) and the new path
(/resources/testharness.js). However, our testharnessresult.js uses the
CSS selector script[src*="/resources/testharness"] to identify
JavaScript tests, causing tests that use the old path to fail without a
text baseline.

The CL also adds an "under construction" unicode character to the
guideline for adding a <meta charset> to every test, as it is still
under discussion.

BUG=

Review-Url: https://codereview.chromium.org/2579953002
Cr-Commit-Position: refs/heads/master@{#439266}
2016-12-17 01:02:43 +00:00
xiaoyin.l
1003c0bc03 Use HTTPS links for Google domains in docs
Since almost all Google domains support HTTPS, and it is a good practice to
use HTTPS wherever possible, thus in this patch, I changed most HTTP links
to https whose domains are known to support HTTPS well.

Modifications are generated by running these commands in src/docs directory:
sed -i 's/http:\/\/www.chromium.org/https:\/\/www.chromium.org/g' *.md
sed -i 's/http:\/\/developer.android.com/https:\/\/developer.android.com/g' *.md
sed -i 's/http:\/\/dev.chromium.org/https:\/\/dev.chromium.org/g' *.md
sed -i 's/http:\/\/build.chromium.org/https:\/\/build.chromium.org/g' *.md
sed -i 's/http:\/\/src.chromium.org/https:\/\/src.chromium.org/g' *.md
sed -i 's/http:\/\/crbug.com/https:\/\/crbug.com/g' *.md
sed -i 's/http:\/\/groups.google.com/https:\/\/groups.google.com/g' *.md
sed -i 's/http:\/\/cs.chromium.org/https:\/\/cs.chromium.org/g' *.md
sed -i 's/http:\/\/codereview.chromium.org/https:\/\/codereview.chromium.org/g' *.md

BUG=

Review-Url: https://codereview.chromium.org/2545363002
Cr-Commit-Position: refs/heads/master@{#436501}
2016-12-06 02:53:51 +00:00
pwnall
6acacd8495 Editorial changes to layout tests writing document.
This CL converts a massive linked list into a series of sub-headings.
Asides from readability improvements, switching to headings makes it
possible to link to individual guidelines, which may be desirable in
discussions or code reviews.

BUG=

Review-Url: https://codereview.chromium.org/2548693002
Cr-Commit-Position: refs/heads/master@{#435813}
2016-12-02 01:42:00 +00:00
pwnall
4ea2eb3e13 New documentation on writing LayoutTests.
This CL pulls out the content on writing LayoutTests from
layout_tests.md, and does a significant overhaul of it.

BUG=665494

Review-Url: https://codereview.chromium.org/2492733003
Cr-Commit-Position: refs/heads/master@{#434842}
2016-11-29 02:53:18 +00:00
pwnall
d8a250726e Move sub-pages of "Layout Tests" from Google Sites to Markdown.
The page on LayoutTests in dev.chromium.org [1] has already been moved
to Markdown. This CL moves its sub-pages to Markdown as well.

[1] https://sites.google.com/a/chromium.org/dev/developers/testing/webkit-layout-tests

BUG=

Review-Url: https://codereview.chromium.org/2488463004
Cr-Commit-Position: refs/heads/master@{#430981}
2016-11-09 18:31:41 +00:00
pwnall
ae101a5f5a Move webkit_layout_tests documentation to Markdown.
In the interest of avoiding any controversy, this is a direct conversion
of https://www.chromium.org/developers/testing/webkit-layout-tests

There are many opportunities for improving the contents of the docs, and
for removing redundancy. This can happen in follow-up CLs.

BUG=

Review-Url: https://codereview.chromium.org/2476573006
Cr-Commit-Position: refs/heads/master@{#430438}
2016-11-08 00:32:51 +00:00