Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Automated testing of web builds #4

Open
vorg opened this issue Oct 10, 2014 · 5 comments
Open

Automated testing of web builds #4

vorg opened this issue Oct 10, 2014 · 5 comments

Comments

@vorg
Copy link
Member

vorg commented Oct 10, 2014

There is test script for plask https://github.com/vorg/pex-examples/blob/master/test/runall.js
It opens all the examples in plask one by one and tries to look for exceptions on stdout. This way I can easily test if all the examples still work. Not sure how to do it for the web.

@szymonkaliski
Copy link
Contributor

Hm, maybe phantom.js looking for errors in console?

@vorg
Copy link
Member Author

vorg commented Oct 10, 2014

Phantom.js doesn't have webgl

On Fri, Oct 10, 2014 at 5:30 PM, Szymon Kaliski [email protected]
wrote:

Hm, maybe phantom.js looking for errors in console?


Reply to this email directly or view it on GitHub
#4 (comment).

Marcin Ignac
http://marcinignac.com
@MarcinIgnac

@szymonkaliski
Copy link
Contributor

Yes, phantom.js doesn't support WebGL, but SlimerJS does: http://slimerjs.org/features.html
Maybe we could also use it to render to png and create miniatures? I'll play with this on the weekend...

@vorg
Copy link
Member Author

vorg commented Oct 10, 2014

Hmm, interesting. We could overwrite the fullscreen: false,
programmatically set width and height to 1280x720 and then compare results
with Plask :D

On Fri, Oct 10, 2014 at 5:33 PM, Szymon Kaliski [email protected]
wrote:

Yes, phantom.js doesn't support WebGL, but SlimmerJS does:
http://slimerjs.org/features.html
Maybe we could also use it to render to png and create miniatures? I'll
play with this on the weekend...


Reply to this email directly or view it on GitHub
#4 (comment).

Marcin Ignac
http://marcinignac.com
@MarcinIgnac

@szymonkaliski
Copy link
Contributor

Cool idea! :)

Let me try and make this work, and then we'll look into diffing the images! :)

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

No branches or pull requests

2 participants