Auto-tools/Projects/W3C CSS Test Mirroring
< Auto-tools | Projects
Jump to navigation
Jump to search
Rationale
The W3C CSS Test working group has a bunch of tests in their hg repo on the W3C site. We need an automated way to pull the tests back from the W3C site into our infrastructure so that these tests can be run in addition to the rest of our automated test suites.
We also need a way to automatically annotate new tests for inclusion into the upstream W3C repo. As a point of process, when a test is submitted to the W3C, it goes into a "submitted" tree, and then once it is accepted it is in an "accepted" tree. This is important to remember for the process outlined below.
Proposed Process
- Developer writes test for W3C - these have a separate license, so they land in the other-licenses/ directory (Elika will determine the proper directory for this), for now, let's call it other-licenses/w3c-css/upstream
- An hg hook watches for checkins to this directory and causes the new test to be pushed into the W3C "submitted" tree.
- On some time sequence (once a day or something) we pull from the W3C "accepted" tree into our other-licenses/w3c-css/tests (name TBD) directory.
- When we pull the tests down, we will need to review the tests in the upstream directory and merge the