Feeds

Google open sources JavaScript testing tools

JS Test code moved from internal ops

5 things you didn’t know about cloud backup

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.” ®

Secure remote control for conventional and virtual desktops

More from The Register

next story
Why has the web gone to hell? Market chaos and HUMAN NATURE
Tim Berners-Lee isn't happy, but we should be
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
Apple promises to lift Curse of the Drained iPhone 5 Battery
Have you tried turning it off and...? Never mind, here's a replacement
Sin COS to tan Windows? Chinese operating system to debut in autumn – report
Development alliance working on desktop, mobe software
Microsoft boots 1,500 dodgy apps from the Windows Store
DEVELOPERS! DEVELOPERS! DEVELOPERS! Naughty, misleading developers!
Eat up Martha! Microsoft slings handwriting recog into OneNote on Android
Freehand input on non-Windows kit for the first time
This is how I set about making a fortune with my own startup
Would you leave your well-paid job to chase your dream?
prev story

Whitepapers

A new approach to endpoint data protection
What is the best way to ensure comprehensive visibility, management, and control of information on both company-owned and employee-owned devices?
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Maximize storage efficiency across the enterprise
The HP StoreOnce backup solution offers highly flexible, centrally managed, and highly efficient data protection for any enterprise.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.