Create a simple test page
script | Page Builder |
line | !path lib/*.jar |
line | |!-fitnesse.testutil.PassFixture-!| |
page | TestPage |
Now run the test page.
Response Requester. | |
uri | valid? |
TestPage?responder=test | true |
Response Examiner. |
contents? |
The bgcolor of the cell should turn green
Response Examiner. | ||
type | pattern | matches? |
contents | class="pass" | true |
contents | Assertions:.*\s+.*?1 right, 0 wrong, 0 ignored, 0 exceptions | true |
The error log page should not have any errors
Response Requester. | |
uri | valid? |
TestPage?executionLog | true |
Response Examiner. |
contents? |
Response Examiner. | ||
type | pattern | matches? |
contents | Exit code.*0.*Time | true |