fitSharp
Include Fixture
This fixture lets us include other pages within a story test page.

We can include a page using an absolute path or a relative path from the working directory. If the page contains test tables, they are executed.

when test is
story test fixture
checktest result
includepagedocument\fitSharp\Fit\SampleInputFiles\SampleSimpleTest.html

include
Tags: SampleTag

This is a simple test.
SampleDo
checkone1
pagedocument\fitSharp\Fit\SampleInputFiles\SampleSimpleTest.html

includepagedocument\fitSharp\Fit\SampleInputFiles\SampleSimpleTest.html
then result is
include
Tags: SampleTag

This is a simple test.
SampleDo
checkone1
pagedocument\fitSharp\Fit\SampleInputFiles\SampleSimpleTest.html

We can include pages with a relative path from the currently executing page.

when test is
story test fixture
checktest result
includepage from currentSampleInputFiles\SampleSubNoTest\SampleNoTest.html

include
This has no tests.
page from currentSampleInputFiles\SampleSubNoTest\SampleNoTest.html

includepage from currentSampleInputFiles\SampleSubNoTest\SampleNoTest.html
then result is
include
This has no tests.
page from currentSampleInputFiles\SampleSubNoTest\SampleNoTest.html

We can include pages with a relative path from the top-level currently executing suite.

when test is
story test fixture
checktest result
includepage from suiteFit\SampleInputFiles\SampleSubNoTest\SampleNoTest.html

include
This has no tests.
page from suiteFit\SampleInputFiles\SampleSubNoTest\SampleNoTest.html

includepage from suiteFit\SampleInputFiles\SampleSubNoTest\SampleNoTest.html
then result is
include
This has no tests.
page from suiteFit\SampleInputFiles\SampleSubNoTest\SampleNoTest.html

© Copyright Syterra Software Inc. All rights reserved.