If a test succeeds, it will print true.
If it fails, it will print false.
To quickly search for a failure, open this document and use Edit-->Find to search for "false."
If you change the functions in the xbcss1.js script, run this test suite to make sure you haven't broken any of xbcss1.js's functionality. In this way, test suites make it easier to reuse and extend existing software modules. Script developers can easily and quickly retest all of a script's functions after making changes. Quality Assurance automation speeds development and raises software quality.
Write a test suite at the same time that you develop a module. Each time you write a function, write a set of tests that ensure the function is working. Make sure the set of tests covers all the inputs the function is expected to handle. Pay particular attention to boundary values.
Writing a test suite takes more time at first, but it pays off later in development when you modify core functions and must retest them to make sure they haven't been broken. There is never time to retest functions manually. Test suites make it easy to test code on multiple platforms or application versions. Test suites also reduce stress for the developer by giving him or her confidence that the software has been thoroughly tested.
50px left margin
72pt (1 inch) left margin
3pc (.5 inch) left margin
50% left margin
default text flow across entire page default text flow across entire page default text flow across entire page default text flow across entire page default text flow across entire page
100px right margin text flow across page text flow across page text flow across page text flow across page text flow across page
50% right margin text flow across page text flow across page text flow across page text flow across page text flow across page
left margin 200px, top margin 200px text flow across page text flow across page text flow across page text flow across page text flow across page
right margin 200px, bottom margin 200px text flow across page text flow across page text flow across page text flow across page text flow across page
left padding 50px, top padding 50px text flow across page text flow across page text flow across page text flow across page text flow across page
right padding 50px, bottom padding 50px text flow across page text flow across page text flow across page text flow across page text flow across page
aqua, black, blue, fuchsia, gray, green, lime, maroon, , olive, purple, red, silver, teal, yellow, white
|
32 point, 16 point, 8 point text.
xx-small x-small small medium large x-large xx-large
larger size, default size, smaller size.
bold text, normal text.
underline, line-through.
italic, normal.
Helvetica, Arial, sans-serif
Times, serif
Chicago, Courier, monospace
cursive (not available on most machines)
fantasy (not available on most machines)
capitalize
uppercase
lowercase
no Capitalization change
left aligned text
right aligned text
center aligned text
justified text justified text justified text justified text justified text justified text justified text justified text justified text justified text justified text justified text justified text justified text justified text
50px indent text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
5em indent text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
50% indent text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
unordered lists | ||
---|---|---|
disc | circle | square |
ordered lists | ||||
---|---|---|---|---|
decimal | lower- roman | upper- roman | lower- alpha | upper- alpha |
red DIV P B
normal P B
red P .abc #abc
red #def .abc B
For the latest technical information on Sun-Netscape Alliance products, go to: http://developer.iplanet.com
For more Internet development resources, try Netscape TechSearch.