In this example, an interface is wired up to let you select and run any of the test modules of the UIZE JavaScript Framework.
Use the test module selector to choose your test module. On selecting a test module, the test module will be loaded dynamically, during which time the "START TESTS" and "STOP TESTS" buttons will be disabled. After it has loaded, the buttons will be enabled again. Use the "START TESTS" button to start running the tests contained inside the selected test module. While the tests are being performed, the progress bar will be updated to show how far you are through the tests. Also, the log will be written to with details of the tests being performed. You can stop the tests at any time using the "STOP TESTS" button. If one of the tests fails, test execution will be aborted and a synopsis of the failure will be displayed in a dialog. To run the entire test suite for the UIZE JavaScript Framework, select the Uize.Test.UnitTests test module.