Add first rendering tests

This commit is contained in:
tsauerwein
2015-04-02 12:11:32 +02:00
parent 8e0c21eb58
commit c0a23dc818
39 changed files with 1099 additions and 3 deletions

View File

@@ -14,8 +14,9 @@ From the command-line the tests can be run with the build target `./build.py tes
## Adding new tests
When creating a new test case, a reference image has to be created. By appending `?generate`
to the URL, a canvas with the rendered map will be shown on the page. Then the reference
image can simply be created with a right-click and "Save image as".
to the URL, a canvas with the rendered map will be shown on the page when calling
`expectResemble`. Then the reference image can simply be created with a right-click
and "Save image as".
It is recommended to only run a single test case when generating the reference image.