We have a ^SuiteSetUp page that contains the only reference to a fixture class name
^TestChatWithDifferentName
^TestChatWithKeywords
^TestChatWithSkippedKeywords
Here's AnotherSuiteFixtureExample, that symbolically links to the storytests here.
To use suite fixtures, we need to specify a different way to run Fit:
- The fixture concerned is ChatSuiteFixture, a subclass of SuiteFixture
- So it is used to run each the storytests in the suite
- This action corresponds to a method in class SuiteFixture
- It can be overridden in class ChatSuiteFixture to handle storytest filtering in a different way
- Each storytest optionally has a keywords table and then a table with an action that returns the fixture to be used to run the rest of the storytest.
- The action chat' here corresponds to a method in the class ChatSuiteFixture; this method returns a DoFixture'' object that runs the rest of the storytest
^TestChatWithDifferentName
^TestChatWithKeywords
^TestChatWithSkippedKeywords
- Unfortunately, at the moment it's not possible to run a test by itself, as FitNesse doesn't run the ^SuiteSetUp in that case
- Hopefully, Micah Martin will be convinced that it would be a good idea for this to happen
Here's AnotherSuiteFixtureExample, that symbolically links to the storytests here.
To use suite fixtures, we need to specify a different way to run Fit:
Add Child Page to SuiteFixtureExample