FitNesse. SuiteAcceptanceTests. SuiteWidgetTests.
TestNumericList

A simple list


A list created as follows
 1 Item one
 2 Item two
should be rendered as a two item ordered list.
We use backslash is a way to capture the leading space before the *.
Action Fixture.
start Page Builder
enter line \ 1 Item One
enter line \ 2 Item Two
enter page SimpleList
Response Requester.
uri valid? contents?
SimpleList true  
Response Examiner.
type pattern matches? value
contents <li>Item One</li> true  

Response Examiner.
type number string?
line 1 <ol>
line 2 <li>Item One</li>
line 3 <li>Item Two</li>
line 4 </ol>


.FrontPage .RecentChanges .FitNesse.SuiteAcceptanceTests