Testing


Monday, June 30th, 2008

JavaScript Protocol Fuzzer

Category: JavaScript, Testing

Gareth Heyes has written a JavaScript protocol fuzzer which has the goal of “producing every variation of javascript execution from links.” If you check out the demo you see all of the options available to fuzz: Number of characters – This inserts between 1 and 10 characters in the chosen position Character position – The Read the rest…

Posted by Dion Almaer at 11:07 am
11 Comments

++---
2.6 rating from 14 votes

Monday, June 9th, 2008

Is “finally” the answer to all IE6 memory leak issues?

Category: IE, Microsoft, Testing, Tutorial

Hedger Wang has been scanning a lot of Chinese blogs lately for solutions to IE6 and memory leak issues. One of the things he stumbled upon is a pretty nifty way of nulling the objects to stop memory leaks by using the try … finally construct. So instead of this solution which leaks memory: < Read the rest…

Posted by Chris Heilmann at 10:22 am
30 Comments

++++-
4.1 rating from 40 votes

Friday, June 6th, 2008

NitobiBug: Cross browser debugging

Category: Testing, Utility

Nitobi has released a cross browser debugging script, NitobiBug: It’s a browser-based JavaScript object logger and inspection tool – similar to Firebug. NitobiBug runs across different browsers (IE6+, Safari, Opera, Firefox) to provide a consistent and powerful tool for developing rich Ajax applications. With it you can: < View plain text > javascript // inspect Read the rest…

Posted by Dion Almaer at 6:02 am
9 Comments

+++--
3 rating from 36 votes

Friday, April 25th, 2008

Cuzillion: Performance best practices tool

Category: Browsers, Examples, JavaScript, Performance, Showcase, Testing

Steve Souders has released a nice little tool called Cuzillion which has the tag line of ‘cuz there are zillion pages to check, although it could also be that there are a zillion ways to do Web development! The tool lets you test out different techniques for optimizing performance in browsers, and these tests can Read the rest…

Posted by Dion Almaer at 1:37 pm
3 Comments

+++--
3.6 rating from 19 votes

JavaScriptMVC Test Plugin

Category: JavaScript, Testing

Justin Meyer and the JavaScriptMVC team have created a new Test plugin. We all voted testing as the number two pain point in Web dev and this is an attempt to make the world a bit better. Test lets you simulate every major DOM event, as well as some combination events like Write and Drag, Read the rest…

Posted by Dion Almaer at 6:18 am
3 Comments

+++--
3.7 rating from 14 votes

Wednesday, April 16th, 2008

DOH, let me test my code!

Category: Dojo, Testing

Dustin Machi has posted on DOH, the Dojo Objective Harness which is a testing framework for JavaScript. It can be used with your own Dojo applications, and even without any Dojo at all. To do this you need to follow a couple of patterns, and Dustin documents them so you can get going. You end Read the rest…

Posted by Dion Almaer at 9:26 am
2 Comments

+++--
3 rating from 23 votes

Tuesday, March 18th, 2008

jqunit: extending jquerys testrunner to all

Category: Framework, JavaScript, jQuery, Testing

Michael Grosser has created jQuerys testrunner in a way that makes it work with jsUnit, and also useful for libraries other than jQuery. Here is a full example: < View plain text > javascript var temp = function($) {   jqUnit.module(‘Without local interface’);   jqUnit.test(‘test a’, function(){     jqUnit.ok(true);     this.ok(true);   }); Read the rest…

Posted by Dion Almaer at 11:01 am
3 Comments

+++--
3.1 rating from 32 votes

Saturday, March 15th, 2008

Progressive Enhancement with CSS support

Category: CSS, Testing

Via John Resig we just got to learn about a clever technique applied by the Filament group in Boston called Progressive Enhancement with CSS support. The study rightfully claims that object detection to determine whether a user agent is capable of supporting a certain interface is not enough. You also need to make sure that Read the rest…

Posted by Chris Heilmann at 4:16 am
7 Comments

+----
1 rating from 2477 votes

Friday, February 15th, 2008

newjs: JavaScript Project Creation

Category: JavaScript, Testing, Utility

When you start a new JavaScript library, how do you layout the source files, the tests, the distribution files? Do you have support scripts to generate distributions from source files? Run your JavaScript unit tests? Generators to create new unit test HTML files? This is why Dr. Nic created newjs, a Ruby script that sets Read the rest…

Posted by Dion Almaer at 7:36 am
Comment here

+++--
3.4 rating from 18 votes

Tuesday, February 5th, 2008

Continous Integration for the Front End

Category: Testing, Utility

Gareth Rushgrove has posted on continous integration for the front end. He talks about a new site, inursite.com that does one thing: The premise is simple; enter a few of your sites and inursite will visit them once a day and run a markup validation service over the page. You then get a feed of Read the rest…

Posted by Dion Almaer at 7:04 am
1 Comment

+++--
3.5 rating from 11 votes

Friday, January 4th, 2008

Autotesting JavaScript in Rails

Category: Articles, Testing

Dr Nic has written a tutorial on testing JavaScript in Rails using a new javascript_test plugin. Once you ruby script/plugin install javascript_test you can ruby script/generate javascript_test maths. Then you can write a test a la: < View plain text > javascript testTruth: function() { with(this) {   assert(true); }} You can go further though Read the rest…

Posted by Dion Almaer at 7:56 am
1 Comment

+++--
3.4 rating from 13 votes

Monday, December 10th, 2007

OpenSocial Container Checker: IGCheck

Category: Social Networks, Testing

Didier Durand wanted to check the compliance of various OpenSocial containers, so he decided to create a tool, IGCheck, that will do the checking for him: The purpose of IGCheck is to test and report which functions of the Google Gadget API (i.e., prefixed with _IG_ in their Javascript name) are available in which containers. Read the rest…

Posted by Dion Almaer at 6:40 am
Comment here

+++--
3.1 rating from 18 votes

Wednesday, November 7th, 2007

TIBCO GI Performance Profiler

Category: Testing, TIBCO

TIBCO has released a new open source Ajax Performance Profiler that aims to answer the questions: How long did it take that service to respond? How long did it take for that component to render? How long did it take that data to parse? How long did it take for that function to execute? Check Read the rest…

Posted by Dion Almaer at 5:03 am
Comment here

+++--
3.6 rating from 26 votes

Friday, October 12th, 2007

Testing JavaScript Objects with Function.prototype.call and Crosscheck

Category: JavaScript, Testing, Tip

Jason Harwig has written a quick tip on Testing JavaScript Objects with Function.prototype.call. The example that he uses is: < View plain text > javascript /**  * Call a function with the given execution context and parameters.  * @param <object> instance the object to use as the "this" inside the function  * @param <array of Read the rest…

Posted by Dion Almaer at 7:55 am
5 Comments

+++--
3.5 rating from 26 votes

Wednesday, June 6th, 2007

Improving Website Usability with A/B Testing

Category: Testing

Dare Obasanjo pointed us to Improving Website Usability with A/B Testing: The good folks on the Microsoft Experimentation Platform team have published a paper which gives a great introduction to how and why one can go about using controlled experiments (i.e. A/B testing) to improve the usability of a website. The paper is titled Practical Read the rest…

Posted by Dion Almaer at 7:32 am
2 Comments

++---
2.8 rating from 19 votes

Friday, April 6th, 2007

TIBCO announces General Interface Test Automation Kit

Category: JavaScript, Testing, TIBCO

TIBCO GI has released a new test automation kit: To further support rapid Ajax application development cycles in the enterprise, TIBCO has released TIBCO General Interface Test Automation Kit, a free, open source kit optimized for functional, unit and regression testing of solutions built with its TIBCO General Interface Ajax toolkit. The testing suite extends Read the rest…

Posted by Dion Almaer at 7:59 am
7 Comments

+++--
3.1 rating from 32 votes