-
Notifications
You must be signed in to change notification settings - Fork 18
Installation notes
##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 after test_url=
. That location should point to your local installation with a path ending in /i18n-checker/tests/generate
.
In the tests
directory you will find the files generate.php, data.php and non-nfc.php, which are used for running the tests. The file data.php contains the actual logic for the tests.
##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 lists all the checks made by the checker, and points to source information and tests for each check. It draws the text of the messages etc. directly from the langs/en.properties
file. 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.