testeur javascript

TwitterFacebook
Get flash to fully experience Pearltrees
http://net.tutsplus.com/tutorials/javascript-ajax/how-to-test-your-javascript-code-with-qunit/

How to Test your JavaScript Code with QUnit

QUnit , developed by the jQuery team, is a great framework for unit testing your JavaScript. In this tutorial, I’ll introduce what QUnit specifically is, and why you should care about rigorously testing your code. What is QUnit QUnit is a powerful JavaScript unit testing framework that helps you to debug code. It’s written by members of the jQuery team, and is the official test suite for jQuery. But QUnit is general enough to test any regular JavaScript code, and it’s even able to test server-side JavaScript via some JavaScript engine like Rhino or V8.
Google JS Test is a JavaScript unit testing framework that runs on the V8 JavaScript Engine , the same open source project that is responsible for Google Chrome’s super-fast JS execution speed. Google JS Test is used internally by several Google projects, and we’re pleased to announce that it has been released as an open source project. Features of Google JS Test include: Extremely fast startup and execution time, without needing to run a browser. Clean, readable output in the case of both passing and failing tests. http://google-opensource.blogspot.com/2011/09/introducing-google-js-test.html

Introducing Google JS Test

jsbin