Internet is down this morning. iiNet are actually acknowledging this in a phone message on their support line, rather than treating me like a retard. Going to the gym while they sort their shit out.
Back from the gym. Internet is still down. Had some ideas on the layout, setting it out on paper is probably a good approach. Figuring out where to put float, clear and position CSS attributes is difficult! I really need to do some HTML/CSS tutorials and learn this stuff properly.
Got the layout fairly well sorted. Float: left and clear: left are well used. Not 100% sure if this is the best approach, but it works reasonably well.
Investigating extending JavaScript arrays for aggregates such as sum (obvious use is in totals). Going to create a new project containing JavaScript extensions for general purposes such as this. Now is the time to start learning JavaScript unit testing!
Looking at QUnit. Looks fairly mature. Definitely no out of the box CI integration. Some thoughts on this:
• NQUnit!
• Create an automated UI test to load the test page into a browser and fail on some failure indicator
• http://www.henrycordes.nl/post/2011/04/25/Javascript-Unittest-in-build.aspx
• http://stephenwalther.com/blog/archive/2010/12/20/integrating-javascript-unit-tests-with-visual-studio.aspx
• http://twoguysarguing.wordpress.com/2010/11/02/make-javascript-tests-part-of-your-build-qunit-rhino/
• Custom framework – use some sort of tag (“///Test”) before function declaration to denote test and call method using JScript, V8, Rhino, etc
No comments:
Post a Comment