Saturday, January 14th, 2012

Shim uses node.js to test sites on multiple browsers

Category: Browsers, JavaScript, Testing

Shim was developed within the Boston Globe’s media lab as a way to study how Web sites look on various devices and browsers. A laptop intercepts all wifi traffic – this is redirected to a custom node.js server – which inserts a javascript, or “shim,” at the head of each web page that is visited. Read the rest…

Posted by jvaughan at 11:01 pm

3.1 rating from 264 votes

Friday, June 10th, 2011

Code injection, error throwing

Category: Chrome, Testing

In a blog, Opera Software Developer Relations team member Tiffany B. Brown looks at code injection, error throwing and handling and mobile debugging. She notes Opera Dragonfly and its remote debug features provide a way to debug mobile sites from their desktop. Brown mentions WebKit’s recently added remote debugging capabilities, folded into Google Chrome developer Read the rest…

Posted by jvaughan at 10:01 pm

4 rating from 53 votes

Friday, April 8th, 2011

Best Practices for test revisited

Category: Ajax, Performance, Testing

With Google and their apps like Search, Docs or GMail only a very small time is actually spent in the initial page load, writes Andreas Grabner in a recent blog post. Of course, much time is spent in JavaScript, XHR Calls and DOM Manipulations triggered by user actions. Grabner writes: It is very important to Read the rest…

Posted by jvaughan at 12:08 pm
Comment here

3.8 rating from 125 votes

Wednesday, July 14th, 2010

Synthetic Event Library Syn Aims to Make Testing Easier

Category: JavaScript, Testing

The team at Jupiter IT have release Syn, a library which allows you to create synthetic events for use in testing. This standalone library is meant to assist in testing complex UI behavior by simulating user actions such as typing, clicking, dragging the mouse. Testing rich, dynamic web applications sucks. At Jupiter, we’ve tried almost Read the rest…

Posted by Rey Bango at 11:54 am

1 rating from 2 votes

Thursday, July 1st, 2010

Keep your vows; Keeping wed to Node

Category: Node, Testing

Vows can be a beautiful thing. Alexis Sellier of LESS fame, is becoming an open source star. This time around he brings us Vows an asynchronous-friendly behavior driven development framework for Node.js. Write you BBD specs like this: < View plain text > javascript // division-by-zero-test.js   var vows = require(‘vows’),     assert = Read the rest…

Posted by Dion Almaer at 6:14 am
1 Comment

3.3 rating from 3 votes

Tuesday, June 8th, 2010

A/B testing your Cohorts with Google Analytics result views

Category: JavaScript, Library, Testing

< View plain text > javascript var header_test = new Cohorts.Test({     name: ‘big_vs_small_header’,     sample: 1, // we want to include all visitors in the test     cohorts: {         big: {             onChosen: function() {               Read the rest…

Posted by Dion Almaer at 6:37 am
1 Comment

3 rating from 2 votes

Thursday, May 20th, 2010

Mock Data Randomizer

Category: Testing

Mike Wilcox has written about a nice little tool for folks who test their JavaScript code. The Mock Data Randomizer is fairly self-explanatory: < View plain text > javascript rand.sentences(6,7,7,9); // # of words in sentences rand.real = true; rand.sentences(6,7,7,9); would generate something like: Whut koop mida miins knew eftor kind. Deys evin thaaght has Read the rest…

Posted by Dion Almaer at 6:16 am

3 rating from 2 votes

Monday, April 19th, 2010

Put your own tests up on BrowserScope

Category: Browsers, Testing

Lindsey Simon has got a powerful update to BrowserScope, the community-driven tool to test and profile browsers. The new feature is exciting as it truly delivers the “community-driven” piece at scale: you can now add your own tests to the corpus, TestSwarm style. Now, the two are very different of course as TestSwarm is about Read the rest…

Posted by Dion Almaer at 7:00 am
Comment here

4.3 rating from 9 votes

Wednesday, February 17th, 2010

Harmony: Bringing together great libraries to enable awesome JS testing in Ruby

Category: JavaScript, Rails, Ruby, Testing

Martin Aumont has released Harmony, which “provides a simple DSL to execute JavaScript and DOM code within Ruby.” This enables you to do very cool things such as unit test JavaScript in the same area as your Ruby tests: < View plain text > ruby require ‘test/unit’ require ‘harmony’   class JavascriptTest < Test::Unit::TestCase   Read the rest…

Posted by Dion Almaer at 6:05 am

3 rating from 22 votes

Monday, January 18th, 2010

Helium CSS: JavaScript Library to test your CSS usage

Category: CSS, JavaScript, Library, Testing

Geuis Teses has released an enjoyable library called Helium that has the goal of testing your stylesheets for unused style. You inject helium into your site (e.g. put it in an included footer) and then when you hit the first page you will have a popup asking for the pages you want to test. Helium Read the rest…

Posted by Dion Almaer at 6:29 am

4.1 rating from 24 votes

Wednesday, November 11th, 2009

Evidence; that your code will work

Category: Testing

Tobie Langel of Prototype fame has created another unit testing library for JavaScript. Another one I hear you say? Well, if Tobie did it…. it is worth checking out. Time to get some Evidence. I found out about it over dinner in Berlin at the great JSConf.EU. At the table were 6 people from 6 Read the rest…

Posted by Dion Almaer at 6:53 am

2 rating from 81 votes

Thursday, November 5th, 2009

Riot.js: JavaScript port of the lean fast unit test framework

Category: JavaScript, Testing

Riot started as a lean Ruby unit test framework with tests that have a style like this: < View plain text > ruby context "a new user" do   setup { User.new }   asserts("that it is not yet created") { topic.new_record? } end Alex Young has now implemented Riot.js which brings you the lean Read the rest…

Posted by Dion Almaer at 6:12 am

1.6 rating from 65 votes

Thursday, October 1st, 2009

QUnit – A JavaScript Unit Testing Framework

Category: jQuery, Testing

There are many options for JavaScript Unit Testing but a “de facto” standard for the jQuery library, related plug-ins, and jQuery UI is QUnit. Nothing new so far? Check this out: According to tweets from John Resig the state of QUnit is: QUnit is now completely standalone (it no longer depends upon jQuery) QUnit now Read the rest…

Posted by webreflection at 12:30 pm

3.6 rating from 47 votes

Monday, September 14th, 2009

BrowserScope: UAProfiler++, Crowd source browser tests

Category: Browsers, Performance, Testing

We are good friends with Steve Souders, but his UA Profiler just got beaten by something much better: BrowserScope. Fortunately for him, he and a new team are the ones who beat it :) Lindsey Simon says it best: Browserscope is an open-source project for profiling web browsers and storing and aggregating crowd-sourced data about Read the rest…

Posted by Dion Almaer at 5:07 am

4.1 rating from 32 votes

Wednesday, August 26th, 2009

TestSwarm: Crowdsource your continuous tests for JavaScript

Category: JavaScript, Testing

It has been a pleasure to watch John build TestSwarm and see its alpha release today. It is an ambitious project to help developers get real world testing across browsers. Here you can see it all at work: John talks about some of the fun challenges: TestSwarm ended up being a very challenging project to Read the rest…

Posted by Dion Almaer at 1:01 pm

4.3 rating from 35 votes

Tuesday, May 12th, 2009

Selenium WebDriver Re-introduced

Category: Testing

Simon Stewart is a smart man, and nice chap, that I had the fortune to meet quite awhile back at Google London. He is an active Selenium hacker, and has re-introduced Web Driver that lets you write this Java code: < View plain text > java // Create an instance of WebDriver backed by Firefox Read the rest…

Posted by Dion Almaer at 6:54 am

3.5 rating from 20 votes