
Resources.FitNesseRoot.FitNesse.SuiteAcceptanceTests.SuiteSlimTests.DefineAliasInPluginTest.content.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
You can [[Define aliases][DefineAliasTest]] via tables in the wiki. It's also possible to add aliases via plugins. This has the advantage that the wiki is not cluttered with techical concerns.
To demonstrate this a class ''!-fitnesse.testsystems.slim.CustomTableAliasPlugin-!'' has been loaded in SetUp.
This plugin makes an alias from ''aliased echo fixture'' to the good old echo fixture.
So the following test table works:
!|script|
|given page|AliasTest|with content|!-!define TEST_SYSTEM {slim}
| import |
| fitnesse.slim.test |
| script : my requirement |
| check | do business logic | 42 |
-!|
|check|request page|AliasTest?test|200|
|ensure|content contains|class="pass"|
|show|content|
© 2015 - 2025 Weber Informatics LLC | Privacy Policy