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

tests: Add render tests support #54

Merged
merged 3 commits into from
Feb 20, 2016
Merged

tests: Add render tests support #54

merged 3 commits into from
Feb 20, 2016

Conversation

ChALkeR
Copy link
Member

@ChALkeR ChALkeR commented Feb 20, 2016

This branch requires #53 and is based on it.

This commit adds basic render tests support.

No js required for new tests, all paired .qml/.png files from the tests/Render/ directory subdirectories are treated as render tests. This renders each .qml file from there and compares it with a corresponding .png file.

Running with QMLWEB_SAVE_RENDER=1 env var will also dump all the renders to the ./tmp/render dir (created automatically, if needed).

@ChALkeR ChALkeR added the tests label Feb 20, 2016
@ChALkeR ChALkeR force-pushed the rendertests branch 3 times, most recently from e0f450b to 30cf8d8 Compare February 20, 2016 15:15
@ChALkeR ChALkeR mentioned this pull request Feb 20, 2016
@ChALkeR ChALkeR force-pushed the rendertests branch 2 times, most recently from e993f33 to 171dfb9 Compare February 20, 2016 15:48
@ChALkeR ChALkeR added blocked and removed blocked labels Feb 20, 2016
@ChALkeR
Copy link
Member Author

ChALkeR commented Feb 20, 2016

No objections raised, merging.
This is just toolchain change and does not break (or touch) the actual code, so I'm confident in this.

@ChALkeR ChALkeR merged commit 39f12e5 into master Feb 20, 2016
@ChALkeR ChALkeR deleted the rendertests branch February 20, 2016 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant