I have a SetUp page at the root level which works fine. However, when I add a subwiki in FitNesse and I want to put a SetUp page at the level of the subwiki. This gets included but then the root level SetUp doesn't.
For example, with the following structure:
Foo suite
SetUp
TestPage
Bar suite
SetUp
NestedTestPage
How do I get FitNesse to include both SetUp pages in NestedTestPage?
There is only one way I know of that you could do this. If you included the parent manually into the child.
So then in your FooSuite.BarSuite.SetUp you had the following line:
!include .FrontPage.FooSuite.SetUp
This would then include the Foo suite page in your Bar SetUp.
The general rule though is that any page has only one SetUp, so you have to force your way around it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With