We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I currently work on some libraries for processing. The problem I encounter is, that it is not that easy to test the libraries on all different platforms (MacOS, Windows, Linux / RaspPi). So I thought, it would be nice to have an automated build and test system for libraries and sketches.
At the moment I am using Travis-CI for MacOS & Linux builds and AppVeyor for Windows builds. But I just build my library there and do not run any tests.
So it would be nice if there would be some scripts to install processing, add the already built library jar and run a test-sketch.
Does anyone already built something like that or would you like to use the toolchain too? This is is more a "should we / I do it" thread, where we can discuss to build such a toolchain.
What do you think about this idea?
Answers
@cansik -- Check out a recent discussion of automatic sketch testing:
On the Processing.R mode project @gaocegege has been using this approach to incorporate end-to-end testing into the reference sketches and documentation, currently under active development. It works like this:
It looks to me like p5.js has something similar: https://github.com/processing/p5.js/blob/master/test/js/testRender.js