This is a description of the tagging feature of
Folder Runner. Read more detailed information about tagging in
Tagging Test Pages.
name | file system | with | new | file system |
The test files used in the following examples are from
Sample Input Files and
Sample Output Files.
with | file system |
make empty folder | test |
make empty folder | test\output |
alias folder | document\fitSharp\Fit\SampleOutputFiles | as | out |
Folder Runner, with -t followed by tagList, executes all pages with given tags.
with | new | folder runner story |
run | -c,document\fitSharp\Fit\SampleInputFiles\SampleConfig.$OS$.xml,-t,SampleTag |
Test result counts are accumulated for all files processed.
check | results | 1 right, 0 wrong, 0 ignored, 0 exceptions |
Checks whether the result html generated is as expected. We are concerned about SampleSimpleTest because that is the only page which has been tagged.
with | file system |
ensure | file | test\output\SampleSimpleTest.html | same as | out\SampleSimpleTest.html |
Wildcards are evaluated in tag filters.
with | file system |
make empty folder | test\output |
with | new | folder runner story |
run | -c,document\fitSharp\Fit\SampleInputFiles\SampleConfig.$OS$.xml,-t,Samp*T?g |
The wildcard filter should have matched the tagged SampleSimpleTest page again.
with | file system |
ensure | file | test\output\SampleSimpleTest.html | same as | out\SampleSimpleTest.html | |