summaryrefslogtreecommitdiff
path: root/tests/manual/rendertestsuite/README
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-05-24 13:38:31 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-05-24 14:01:04 +0200
commita21cf52e101ad50c330ad0b42416cc83318afea7 (patch)
tree8bab9b45166dd490ac7badfd81f13a726bb6621d /tests/manual/rendertestsuite/README
parent1983ba1de3d4ffec65fcfbd74328963afb2c57c1 (diff)
downloadqtsvg-a21cf52e101ad50c330ad0b42416cc83318afea7.tar.gz
Add little helper program for finding visual regressions
Change-Id: I0b6c7a7d82d64011fb9b1e2aea5ff0552c719f54 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/manual/rendertestsuite/README')
-rw-r--r--tests/manual/rendertestsuite/README32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/manual/rendertestsuite/README b/tests/manual/rendertestsuite/README
new file mode 100644
index 0000000..0609d4f
--- /dev/null
+++ b/tests/manual/rendertestsuite/README
@@ -0,0 +1,32 @@
+This little helper program can be used together with the SVG Tiny 1.2 test
+suite to determine the visual impact of changes to the renderer on the basis of
+the test suite.
+
+Suppose you have the test suite installed in ~/tests, then you can create a
+base line of renderings of all the SVG images by running
+
+ mkdir baseline
+ ./rendertestsuite create-baseline ~/tests
+
+and the output will be stored in the 'baseline/' sub-directory.
+
+After making changes to the renderer, you can create a new set of images by running
+
+ mkdir difference
+ ./rendertestsuite diff ~/tests
+
+and side-by-side images of the old and the new images in case they differ will
+be stored in the sub-directory 'difference/'.
+
+An easy way to inspect the output is by using KDE's gwenview:
+
+ gwenview difference/
+
+
+Note that due to rounding errors there will always be subtle differences, even
+when not doing any changes to the renderer.
+
+
+You can find the test suite at
+
+ https://www.w3.org/Graphics/SVG/WG/wiki/Test_Suite_Overview#SVG_1.2_Tiny_Test_Suite:_12_September_2008