7.3. Using HTML for TestsFit was originally designed to work with HTML files. HTML files can be edited with Mozilla, FrontPage, or DreamWeaver or an editor that can save to HTML, such as MSWord or MSExcel. Figure 7.4 shows a test being edited with Mozilla. Figure 7.5 shows a test being edited with MSWord. (It needs to be saved as an HTML file.) Figure 7.4. Creating an HTML Table with Mozilla Composer
Figure 7.5. Editing an HTML File with MSWord
You can ornament your tables as you wish, as with spreadsheets, as most of the characteristics of an HTML table, such as the cell spacing or border size, are irrelevant to Fit. However, all tables are considered to be test tables by Fit, so you will get some odd reports if you use tables for other purposes. Other tagged formatting, such as formatted text, lists, images, and links, can be used both inside and around tables.[1]
Once the HTML is saved to a file, we can run Fit on it, using the same approach as in Section 7.1. Test suites, as described in Section 7.2, can include a mix of HTML files and spreadsheet files, and these files are reported in the same way. SetUp.html and TearDown.html files may also be provided, as alternatives to the spreadsheet equivalents. Questions & Answers
|