Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.SetUp (edit)
Import |
fit.decorator |
fit.decorator.performance |
eg |
There are cases when you want to copy and append the last row of your column or row fixture certain number of times.
For Ex: We make a query to the database and it return certain record 'n' number of times. Instead of writing the same record 'n' number of times in your fitnesse page, you can just specify that you expect the last column 'n' number of times using the CopyAndAppendLastRow decorator.
Copy and Append Last Row | 100 | number of times |
Division | ||
numerator | denominator | quotient() |
10 | 2 | 5 |
12.6 | 3 | 4.2 |
100 | 4 | 25 |
In the above example, we want to divide 100 by 4 101 times.
Included page: .FitNesse.SuiteAcceptanceTests.SuiteFitDecoratorTests.TearDown (edit)
fit.Summary |
Keyboard Shortcuts ?
General
- t Test page or suite
- e Edit page
- v View page (after test)
- a Add new page
Go To
- g u User Guide
- g q Quick Reference Guide
- g f Full Reference Guide
- g c Recent Changes
Edit Mode
- CTRL+s Save page
- ESC Cancel edit
Tools
- p Properties
- w Where used?
- AK+v Versions
- AK+h Page History
- / Focus on search bar
- s Open search page