In association with heise online

11 March 2010, 16:16

Google launches runnable test suite for browser ECMAScript/JavaScript

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

Zoom Sputnik test runner in action
Google has announced a test runner for Sputnik, the JavaScript conformance test suite that it launched last June. The test runner makes it easier to run the complete Sputnik test suite from within a browser. Sputnik covers testing all aspects of JavaScript as defined in the 3rd edition of ECMA-262 specification and is made up of over 5,000 tests. It is designed to be used as a complement to browser testing tools such as the Acid3 test.

The Google developers are adapting the tests to not only check for ECMAScript 3 compliance but, as ECMAScript 5 redefined the use of existing language features to bring them in line with how they have been used, to also comply with the redefined behaviours. This, they say, allows developers to test their browsers for compatibility with the web, rather than just compatibility with the specification.

For testing of new features in ECMAScript 5, the developers point to Microsoft's es5conform project. "Incompatibilities between browsers remain one of the biggest challenges for web developers" said Google engineer Christian Plesner Hansen, "We hope that giving users and browser vendors an easy way to test their browser will help promote browser robustness and compatibility across the industry".


Print Version | Send by email | Permalink:

  • July's Community Calendar

The H Open

The H Security

The H Developer

The H Internet Toolkit