Skip to content

Installation notes

r12a edited this page Aug 22, 2016 · 20 revisions

##Tests

The package comes with a set of regression tests. Run the file tests/index.php.

The test prompts are in the tests_xxx.properties files in the tests directory.

The tests i18n.conf file in the conf directory points to the location of the tests themselves. That location is under https://www.w3.org/International/tests/i18n-checker/, since you can't run PHP from github.

A copy of each of the test files at the URL just mentioned is also stored in the tests directory (ie. generate.php, data.php and non-nfc.php) for convenience of those who want to run or change the tests for themselves.

##Documentation

There is some documentation of the basic code structure. I'm not sure how up to date it is. You can find it in the docs directory.

What is up to date is the file docs/checker.en.php. This list all the checks made by the checker, and points to source information and tests for each check. Because you can't run PHP from github, this file is copied to https://www.w3.org/International/quicktips/checker when a checker update is released. This page draws the text of the messages etc. directly from the langs/en.properties file.

Clone this wiki locally