As we all know, JavaScript testing is troublesome. Generally, some browser plug-ins, such as IE develop bar or firebug, are used for debugging. Testing usually requires locating through JS error prompts displayed on the page. Are there other convenient tools,
1. jslint
Http://jslint.com/
You only need to paste the JS script and click the jslint button to check the JS syntax.
2. js test driver
Http://code.google.com/p/js-test-driver/
Http://feedproxy.google.com /~ R/Blogspot/rlxa /~ 3/ycrcxhuvxv8/super-fast-js-testing.html
The goal of jstestdriver is to build a javascript test runner which:
- Easily integrates with continuous builds systems and
- Allows running tests on multiple browsers quickly to emerge TDD style development.
3. Test swarm
Http://testswarm.com/
Http://wiki.github.com/jeresig/testswarm
Jquery JavascriptProgramDatabase creator John resig released test swarm, which is used to perform distributed continuous integration testing on client JavaScript.
Http://developer.51cto.com/art/200904/117929.htm
4. jsunit
Http://www.jsunit.net/
The most common JS Unit Testing Tool
5. jsunity
Http://jsunity.com/
Jsunity is a lightweight context-independent JavaScript testing framework. It does not rely on the functions of the browser and can be used to test JavaScript, JScript, and ecmascript.
reference:
http://jolestar.com/2009/05/20/1242803580000.html