HTML and CSS Reference
In-Depth Information
</html> l
This code represents the HTML required to run a basic, empty unit test in QUnit.
As you can see, it does not contain any mobile-specific markup.
Within the body tag, you can see that there are several HTML elements with IDs.
These are described in Table 9-1.
Table 9-1. HTML Testing Elements
Contains the header or title of the suite of unit tests
Changes color depending on the state of the unit
test (green for pass, red for fail)
qunit-testrunner-toolbar Contains controls that allow you to show or hide
Shows the browser information for the current test
Contains a list of passed or failed tests after they
have been run
Used if you have any DOM that needs to be
manipulated as part of any test
You will need to run the tests in a mobile web browser. To do this, Aptana must
first be configured so that its internal server binds to the computer's IP address
instead of its local IP address of To do this, go to Aptana Studio 3
Preferences Aptana Studio Web Servers Built-in. You will see a screen and drop-
down menu that allows you to select what the IP address of the internal web
server should bind to, as shown in Figure 9-1.
Search WWH ::

Custom Search