Included page: .FitNesse.SuiteAcceptanceTests.SetUp (edit)

Import
fitnesse.fixtures

SetUp

Included page: CreateBackwardSymbolicLink (edit)

Create an absolute symbolic link from a sub-page:

First we need to create some pages to play with.
Page creator.
Page name. PageContents. valid?
LinkingPage LINKING PAGE true
LinkingPage.LinkingChild LINKING CHILD true
LinkingPage.LinkedChild LINKED CHILD true

Now we create a symbolic link named SymLink. This links LinkedPage.LinkedChild as a child of LinkingPage.LinkingChild.
Response Requester.
uri status?
LinkingPage.LinkingChild?responder=symlink&linkName=SymLink&linkPath=<LinkingPage.LinkedChild 303

Creating a symlink will redirect back to the properties page.
Response Examiner.
type pattern matches? contents?
contents Location: /LinkingPage.LinkingChild\?properties true

Let's have a look at the properties view.
Response Requester.
uri status?
LinkingPage.LinkingChild?properties 200

RESPONSE DATA

Response Examiner.
type wrappedHtml?
contents


The newly created symbolic link will be listed along with a link to the linked page.
Response Examiner.
type pattern matches?
contents SymLink true
contents <a href=".LinkingPage.LinkedChild"><LinkingPage.LinkedChild</a> true

Included page: .FitNesse.SuiteAcceptanceTests.TearDown (edit)



tear down