Bruce Jay Mack - iCIS Knowledge base and Collaboration WikiWiki
Welcome Guest, you are in: Login

Test Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Page History: Test Wiki

Compare Page Revisions



« Older Revision - Back to Page History - Newer Revision »


Page Revision: 06/03/2013 20:46


Ward Cunningham invented the first WikiWiki and is considered by many as one of the founders of object oriented programming. He also created a test fixture framework that uses tables for designing and testing procedures, data, and actions in common document formats like Word and Excel. What goes in the cells of the table and which kind of test fixture is used to test it depends on the goal of the test. There are 3 basic types of fixtures and many variations to how they work. WikiWiki and the fit test framework were first used together by the Fitnesse project

  1. Column Fixture
    • Used to test an object's procedures with various arguments
  2. RowFixture
    • Used to test database result sets
  3. ActionFixture
    • Used to test the results of a series of actions

The best way to explain is by example so here is a basic acceptance test for a procedure:

Math.Calculator
value1value2Sum()Product()Exponent()
3 2 5 6 9
12 4 18 48 20736

The first row is the fully qualified name of the type (namespace+class) being tested.
The second row has argument names followed by procedures denoted by the ().
The following rows has the values for the arguments and the expected results of the procedures.

After running the test it would look like this.
Math.Calculator
value1 value2 Sum() Product() Exponent()
3 2569
124Expected 18
Actual 164820736

Checkout a live example on the test site where the test fixtures are being developed. Just click the 'Run Tests' link to run the test and see the results.

ScrewTurn Wiki version 3.0.5.600. Some of the icons created by FamFamFam.