resvg test suite:
Перейти к файлу
Yevhenii Reizner 9afb1285c4 Add new `use` element tests. 2022-02-20 19:18:45 +02:00
.github/workflows Move to GitHub Actions. 2021-07-05 22:55:30 +03:00
doc-images Add doc images. 2020-02-20 20:32:35 +02:00
fonts Fix `font-stretch` tests. 2021-07-09 16:29:38 +03:00
images Add new `image` element tests. 2022-02-12 13:50:39 +02:00
png Add new `use` element tests. 2022-02-20 19:18:45 +02:00
site Update results. 2022-02-12 21:28:08 +02:00
svg Add new `use` element tests. 2022-02-20 19:18:45 +02:00
tools Add new `use` element tests. 2022-02-20 19:18:45 +02:00
.gitignore Add new `text` element test. 2021-12-03 14:51:13 +02:00
LICENSE License moved to the root. 2018-02-24 17:38:05 +02:00
README.md Move to GitHub Actions. 2021-07-05 22:55:30 +03:00
check.py Add `feDropShadow` element tests. 2021-07-20 19:10:48 +03:00
order.txt Add new `use` element tests. 2022-02-20 19:18:45 +02:00
results.csv Add new `use` element tests. 2022-02-20 19:18:45 +02:00
stats.py Update results. 2022-02-12 21:28:08 +02:00

README.md

resvg test suite

Structure

  • svg/ - SVG images. Actual tests
  • png/ - PNG images with expected rendering results
  • images/ - images that will be referenced by SVG files
  • fonts/ - fonts used by SVG files
  • site/ - sources for github pages
  • tools/ - various testing tools
  • check.py - pre-commit hook
  • order.txt - custom tests order for pretty-printing
  • results.csv - results of manual testing via tools/vdiff of the resvg test suite
  • stats.py - generates site/images/chart.svg

Tests order

Test names must not be changed. All new test files should increment the latest number. But if we need to insert some test in the middle of the order - we also have to increment all the tests after it. Which is unacceptable. To avoid this we are using order.txt file, that allows us to print tests in any order we want.

License

MIT