Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Golden Tests for SVG #92

Open
noelwelsh opened this issue Jun 11, 2020 · 0 comments
Open

Add Golden Tests for SVG #92

noelwelsh opened this issue Jun 11, 2020 · 0 comments

Comments

@noelwelsh
Copy link
Contributor

Golden testing is the technique we use for end-to-end testing. The essential idea is to compare output against known good output.

We have golden tests for the Java2D backend, comparing rendered PNGs. We should add tests for the SVG backend. It's not immediately clear how to implement this. We could compare textual output but this is a bit fragile to non-semantic changes. We also cannot easily visualize the output to make sure it's actually correct (or see where it is wrong). Ideally we'd find some Java package that can render SVG to a bitmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant