Tuesday, January 25, 2011

0.4 Release: setting up the <b>scaffolding</b>

The first scheduled release of my project sundae.js for OSD700 will be released for Sunday January 30. In case this is your first time reading my blog, my project is a automated testing framework designed to test WebGL dependencies and functionality in addition to YOUR library using those very WebGL functionalities, that is sundae.js.

0.4

There are main 3 goals for the first major release of sundae.js:

Re-factor framework

The original outline of the project was largely taken from processing.js's developer tools reference tester. However as the scope of my project expanded a similar change had to be reflected in the way the code was designed. In order to facilitate this change the old reference tester has to be ripped into key sections, The test building process has to be clearly defined:

Select the testsLoad the tests dependenciesBuild test div and canvasesLoad test into canvasLoad know good into canvasBlur both canvasesPixel by pixel compare each canvasGenerate test result into canvasLoad next test Compile results

What needs to be learned for this process is how to dynamically load Javascript libraries, and then a method of how to recognize when a dependency is already loaded.

Define API

As the project expands a clearly defined programming interface is necessary to maintain workflow. This design needs to have scalability at the forefront of the decision making process. We know each test case should be treated as its own object, an example of what to expect would be: dependencies, known good, error message, test. Additional standards will be that tests will load into a canvas as will their respective last known good result, from there the rest of the test process is built in.

Define test case structure

The thought process behind this goal is to allow for an easy to implement and expandable way to get your test cases working with sundae as fast as possible. The goal is to use a JSON object structured by my API design to clearly define everything optional and required for each test. Further additions include characterize tests by a directory structure. An obvious skill gap of JSON methodology will need to be bridged, however the benefits will be far reaching.

That is everything set up for the 0.4 release of sundae.js!


View the original article here


Synergy Aluminium Scaffolding Tower

1 comment:

  1. Thanks so much for providing individuals with remarkably nice opportunity to check tips from this blog. It is usually so terrific and packed with a great time for me and my office mates to search your blog not less than three times in a week to read the latest secrets you will have. And of course, I'm always contented concerning the attractive secrets you serve. Certain 3 ideas on this page are unquestionably the most effective we have ever had.
    decking handrail systems

    ReplyDelete