Testing
Saturday, January 14th, 2012
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…
Friday, June 10th, 2011
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…
Friday, April 8th, 2011
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…
Wednesday, July 14th, 2010
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...
Thursday, July 1st, 2010
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: PLAIN TEXT JAVASCRIPT: // division-by-zero-test.js var vows = require('vows'), assert = require('assert'); Read the rest...
Tuesday, June 8th, 2010
Category: JavaScript
, Library
, Testing
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() { $('#big').show(); Read the rest...
Thursday, May 20th, 2010
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: 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 plecu Read the rest...
Monday, April 19th, 2010
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...
Wednesday, February 17th, 2010
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: PLAIN TEXT RUBY: require 'test/unit' require 'harmony' class JavascriptTest <Test::Unit::TestCase def setup @page Read the rest...
Monday, January 18th, 2010
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...
Wednesday, November 11th, 2009
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...
Thursday, November 5th, 2009
Category: JavaScript
, Testing
Riot started as a lean Ruby unit test framework with tests that have a style like this: 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 framework in a Read the rest...
Thursday, October 1st, 2009
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...
Monday, September 14th, 2009
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...
Wednesday, August 26th, 2009
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...
Tuesday, May 12th, 2009
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: PLAIN TEXT JAVA: // Create an instance of WebDriver backed by Firefox WebDriver driver Read the rest...