Async Usage Example

This example shows how to create an asynchronous test with the YUI Test framework for testing browser-based JavaScript code. A YUITest.TestCase object is created with a test that waits for a few seconds before continuing. The YUITest.TestRunner is then used to run the tests once the page has loaded.