Detect broken code before you deploy.
No more emails from users in the middle of the night because some
developer slipped in Object.keys() and broke the site in IE8.
robot : ~ $ cat > test.js <<EOF var test = require('testling'); test('json parse', function (t) { t.deepEqual(JSON.parse('[1,2]'), [1,2]); t.end(); }); EOF robot : ~ $
robot : ~ $ curl -sSNT test.js \ testling.com/?browsers=iexplore/7.0,iexplore/8.0,chrome/13.0 Bundling.... done iexplore/7.0 0/1 0 % ok Error: 'JSON' is undefined at [anonymous]() in /test.js : line: 4, column: 5 at [anonymous]() in /test.js : line: 3, column: 29 at test() in /test.js : line: 3, column: 1 > t.deepEqual(JSON.parse('[1,2]'), [1,2]); iexplore/8.0 1/1 100 % ok chrome/13.0 1/1 100 % ok total 2/3 66 % ok robot : ~ $