
|
|
![]() QUnit is a JavaScript test suite similar to JUnit with distinguishing functionality allowing FoneMonkey to execute tests written in JavaScript from a UIWebView. QUnit facilitates the ability to create comprehensive test suites in JavaScript that can be attached to build targets and invoked interactively, via build scripts or from continuous integration frameworks (Hudson or Cruise Control). Test output from QUnit tests is written to the console. Setting the FM_ENABLE_XML_REPORT environment variable to YES will write out the results in XML format. When the QUnit test is completed on the device or in the simulator, results from the test will be presented in the console. A script button will also be added to the timer toolbar to access those results from the console.
|