- Intuitive, simple, but enough API support.
- Easy to introduce.
- If possible, we don't want to introduce any other run time.
- Ajax testing support (if possible)
- Enough matured or active community supports
- It's more better if the framework have a good compatibility with jQuery.
- It may be useful also if the frameworks can be scripted, or at least callable fro CLI.
Also included is a platform for automating the execution of tests on multiple browsers and mutiple machines running different OSs.
- Pros: Very matuared. (Its development began in January 2001.
- YUI Test
- Rapid creation of test cases through simple syntax.
- Advanced failure detection for methods that throw errors.
- Grouping of related test cases using test suites.
- Asynchronous tests for testing events and Ajax communication.
- DOM Event simulation in all A-grade browsers.
- YUI Test does derive some characteristics from nUnit and JUnit.
- Ajax support officialy.
- Many Documents
- Not OSS.
- Not a direct port from any specific xUnit framework.
- Althogh this script may have good compatibility with YUI, it's not certain that it also have it with jQuery.
QUnit is the unit testrunner for the jQuery project.
It got promoted to a top-level project in May 2008 to make it easier to use in other projects, with focus on jQuery UI.
It's especially useful for regression testing
- The community is very active.
- It must be good compatible with jQuery.
- Cons: This project started just only month ago.(This script have been being used for jQuery itself since the jQuery project started, though.)