GTAC 2009 – JsTestDriver

November 6th, 2009 · 2 Comments ·

Google Tech Talk
October 22, 2009


Presented by Jeremie Lenfant -Engelmann, Google, at the 4th Annual Google Test Automation Conference, October 21st, 22nd, 2009, Zurich, CH

The proliferation of JavaScript unit-testing frameworks in the JavaScript community shows that no one has yet found the magical combination of features to make JavaScript testing a no-brainer. We like to believe that JsTestDriver will change that by redefining JavaScript testing frameworks and as a result will deliver something which at first glance seems impossible. As a developer of JavaScript I want to write my production and test code in my favorite IDE. When I make a code change, I want a save action to trigger a rerun off all of my tests on all browsers and platforms and report the results under 1 second. All of this without ever leaving my favorite IDE. JsTestDriver achieves all of the above by capturing any number of browser slaves from multiple platforms. In order to run at high speed we do not render our results in the browser but report the errors on the command line. JsTestDriver also loads and parses JavaScript files eagerly, only reloading files that have changed. JsTestDriver can execute hundreds of tests per browser and execute them on all of the captured browsers in parallel. Thanks to these practices we achieve extremely high throughput. We want to be a test-runner platform and allow others to build assertion frameworks on top of JsTestDriver. This way the open-source community can focus on building a better way of testing and not worry about how to run the tests across all of the browsers, platforms and in a continuous build environment.

Bio: Jeremie Lenfant-Engelmann works for Google and is the lead developer of JsTestDriver.


Tags: Uncategorized

2 responses so far ↓

  • TJ Holowaychuk // Nov 9, 2009 at 12:26 pm

    JSpec !!! :)

  • misko // Nov 9, 2009 at 1:20 pm

    Know of anyone interested in integrating it? We have done a lot of work on our side to make it possible (QUnit, YUITest) are already integrated. Perhaps you would like to integrate the JSpec? we are happy to provide the guidance along the way.