processing.js test creation template


I noticed that there was lots of tests for some of the work the people in my dps909 class are doing for processing.js but they seemed to be all over the place and all different in design.

So I created a html file for a basic template layout for anyone who wants to make some nicely laid out tests that are all a consistent design and format.

I got this idea from looking at Andor’s tests for mag() and splice() and I immediately saw that it would be useful if everyone followed a similar format for making their tests and included source code for the test at the bottom of the test. So i followed suit and used the same format for my shorten() test.

The template is posted on the processing.js wiki page for others who want to use it.  You can just copy the text into a html file and change what is necessary.  I also added a table for tests everyone has created so that we can reference each others tests all from one location.

One thought on “processing.js test creation template

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s