-
Notifications
You must be signed in to change notification settings - Fork 5
Script Tables
ericmeyer edited this page Sep 1, 2012
·
1 revision
They are described here: http://fitnesse.org/FitNesse.UserGuide.SliM.ScriptTable. This document is more how to implement them.
They are useful for keeping state between steps. They can be used to simulate user workflow.
!|script|counting numbers|
|check |count |0 |
|increment |
|check |count |1 |
#import <Foundation/Foundation.h>
@interface CountingNumbers : NSObject
@property (readwrite, assign) int count;
@end#import "CountingNumbers.h"
@implementation CountingNumbers
-(void) increment {
self.count += 1;
}
@end