Presentation is loading. Please wait.

Presentation is loading. Please wait.

FIT Testing 2 December 7, 2004.

Similar presentations


Presentation on theme: "FIT Testing 2 December 7, 2004."— Presentation transcript:

1 FIT Testing 2 December 7, 2004

2 FIT Specify tests in HTML tables
Use fixtures to parse tables and execute tests Available for multiple languages See also FIT chapter in Required Readings on blackboard for more information Tutorial on FIT with Eclipse link in External Links section on blackboard

3 Fixtures 3 standards Can make others
Action Fixture Column Fixture Row Fixture Can make others First row of table specifies what fixture to use to parse the table

4 Action Fixture First column of table contains keyword for action
Subsequent columns contain parameters Entire table is treated as one test Default keywords Start – instantiate a class Enter – call a method with a parameter Press – call a method with no parameters Check – compare method’s return value with an expected value

5 Column Fixture Columns of table map to public fields and methods
Each row is treated as separate test Row executed left to right Putting () in column name indicates method to check return value from

6 Row Fixture Each row is a data item Data items can appear in any order

7 FITnesse Standalone wiki that’s hooked to FIT
Allows group to easily edit test files without worrying about ensuring the correct versions propagate out to all locations


Download ppt "FIT Testing 2 December 7, 2004."

Similar presentations


Ads by Google