
Redo Sundae library
Reported by cwdesautels | June 29th, 2011 @ 07:49 PM | in 2.0
Comments and changes to this ticket
-
cwdesautels June 29th, 2011 @ 08:21 PM
<script> Sundae(function() { var s = sundae('#divID') // // Add your tests! .addTest({ blurRadius: numForTestRadius, tolerance: numForTestTolerance, name: string, note: string, tag: string, knownFail: true OR false, //Required for the tests! firstCanvas : Image Uri OR script URI OR PDE URI OR function name OR function(aCanvas, callback){ definition; callback(); }, secondCanvas : Image Uri OR script URI OR PDE URI OR function name OR function(aCanvas, callback){ definition; callback(); } }) // Add an array of tests .addTests([{ //Test case from above }//,{...},{...} //More test cases ]) // Add an array of tests from a file .addTestFile("jsonFileName") // // Optional Globals .setBlur(2) .setTolerance(5) /* These are loaded Aynchronously, But synchronously between method calls: .addLibraries().addLibraries() the second group will not be loaded until the first is done */ .addScript("scriptUri") .addScripts([ "scriptUri", "scriptUri" ]) // // Optional Events .onAdd( //Fires on every test addition function(){} ) .onImport( //Fires after every library import function(){} } .onRunning( //Fires after each test is finished running function()}{ ) .onComplete( //Fires after all tests have been run function(){} ) // // Can invoke this anytime, Attach it to a button! .start(); s.getTags(); //returns array of possible test tags s.getTests(); //returns test array s.noop(); //Blank function }); </script>
-
-
-
cwdesautels July 11th, 2011 @ 02:14 PM
(from [6db0be1dfd10a974ac55cc3adaeb89c06033ceaa]) [#53] chain done, needs testing https://github.com/cwdesautels/sundae.js/commit/6db0be1dfd10a974ac5...
-
cwdesautels July 11th, 2011 @ 02:16 PM
(from [e337cfc7bc69d46275a6e49dc91b6f769b20d792]) [#53] chain done, needs testing https://github.com/cwdesautels/sundae.js/commit/e337cfc7bc69d46275a...
-
-
cwdesautels July 11th, 2011 @ 07:11 PM
(from [ba0dd4c523f60e068c50aa76cf47b23d9dfc554d]) [#53] more work, ready for tester https://github.com/cwdesautels/sundae.js/commit/ba0dd4c523f60e068c5...
-
cwdesautels July 21st, 2011 @ 05:18 PM
(from [e3b4fb996e39b1b92638137a5c6823a4f558f1e6]) [#53] the work continues, put in chain.js https://github.com/cwdesautels/sundae.js/commit/e3b4fb996e39b1b9263...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
sundae.js is a reference testing framework for canvases designed in Javascript.
<br/>
Source:
https://github.com/cwdesautels/sundae.js
Blog:
http://cwdesautels.blogspot.com/