日期:2014-05-16  浏览次数:20343 次

JavaScript测试工具介绍

?

1 js-test-driver

The goal of JsTestDriver is to build a Java Script test runner which:

?1. easily integrates with continuous builds systems and
?2. allows running tests on multiple browsers quickly to ease TDD style development.

官方地址:http://code.google.com/p/js-test-driver/


2 JsUnit

JsUnit is a Unit Testing framework for client-side (in-browser) JavaScript. It is essentially a port of JUnit to JavaScript. Also included is a platform for automating the execution of tests on multiple browsers and mutiple machines running different OSs. Its development began in January 2001.

官方地址:http://www.jsunit.net/


3 JsLint

What is JSLint?

JSLint is a JavaScript program that looks for problems in JavaScript programs. It is a code quality tool.

官方地址:http://jslint.com/