Feeds

Google open sources JavaScript testing tools

JS Test code moved from internal ops

Choosing a cloud hosting partner with confidence

Google is open sourcing one of its key JavaScript testing tools in an effort to get developers to speed up web applications.

Google JS Test is used internally on the V8 JavaScript engine using in Chrome. Google has attributed much of the speed increases it claims for the browser to the performance of the V8 engine, and the company is clearly hoping this will improve matters further.

The code includes a testing function with the ability to create mock functions or class instances that can be used to check code’s operating parameters within the unit testing framework. Test runs on functions can then be carried out using the gjstest tool. Testing can be done outside the browser, but only without touching the Document Object Model (DOM).

“A requirement for using Google JS Test for a test is that the test and the code it executes be composed of pure JS,” the company said in its release notes. “That's not to say that you can't test code that manipulates the DOM – you can still do so by passing in mock implementations of DOM manipulation functions in your tests.” ®

Intelligent flash storage arrays

More from The Register

next story
UNIX greybeards threaten Debian fork over systemd plan
'Veteran Unix Admins' fear desktop emphasis is betraying open source
Netscape Navigator - the browser that started it all - turns 20
It was 20 years ago today, Marc Andreeesen taught the band to play
Redmond top man Satya Nadella: 'Microsoft LOVES Linux'
Open-source 'love' fairly runneth over at cloud event
Return of the Jedi – Apache reclaims web server crown
.london, .hamburg and .公司 - that's .com in Chinese - storm the web server charts
Chrome 38's new HTML tag support makes fatties FIT and SKINNIER
First browser to protect networks' bandwith using official spec
Admins! Never mind POODLE, there're NEW OpenSSL bugs to splat
Four new patches for open-source crypto libraries
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Cloud and hybrid-cloud data protection for VMware
Learn how quick and easy it is to configure backups and perform restores for VMware environments.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.