FitNesse
.
SuiteAcceptanceTests
.
SuiteWikiPageResponderTests
.
TestMultiLineTable
Edit Page:
!3 This page tests a multi-line table. A multi-line table is created as follows {{{|a|b|c| |d|e|f|}}} The resulting text will be rendered in a one line table of the form.{{{<table> <tr><td>a</td><td>b</td><td>c</td></tr> <tr><td>d</td><td>e</td><td>f</td></tr> </table>}}} # * First create a page with a simple table in it. # |Action Fixture.| |start|Page Builder| |enter|line|!-|a|b|c|-!| |enter|line|!-|d|e|f|-!| |enter|page|!-MultiLineTablePage-!| # * Then request that page # |Response Requester.| |uri|valid?|contents?| |!-MultiLineTablePage-!|true|| # * Make sure the html is correct for a simple table. # |Response Examiner.| |type|pattern|matches?|value| |contents|a|true|| |Response Examiner.| |type|number|string?| |line|1|!-<table border="1" cellspacing="0">-!| |line|2|!-<tr><td>a</td>-!| |line|3|!-<td>b</td>-!| |line|4|!-<td>c</td>-!| |line|5|!-</tr>-!| |line|6|!-<tr><td>d</td>-!| |line|7|!-<td>e</td>-!| |line|8|!-<td>f</td>-!| |line|9|!-</tr>-!| |line|10|!-</table>-!|
Hints:
Use alt+s (Windows) or control+s (Mac OS X) to save your changes. Or, tab from the text area to the "Save" button!
Grab the lower-right corner of the text area to increase its size (works with some browsers).