[TIP] FitNesse and Twill

Grig Gheorghiu grig at gheorghiu.net
Mon Sep 17 10:54:50 PDT 2007


Here's an example courtesy of Karen Mishler from Arinc. TwillCommands
is a ColumnFixture whose 'verbs' are simply wrappers around the
corresponding twill commands.

!|MyFixtures.TwillCommands|
|page|go?|
|TextWeather|True|

!|MyFixtures.TwillCommands|
|fieldName|fieldValue|fv?|
|Airport1|BIV,KSMQ|True|
|terminal_weather_taf|on|True|
|terminal_weather_metar|off|True|
|terminal_weather_pirep|off|True|
|terminal_weather_enroute_winds_aloft_high|off|True|

!|MyFixtures.TwillCommands|
|submit?|
|True|

!|MyFixtures.TwillCommands|
|findText|find?|
|Invalid airport code|False|

HTH, 

Grig

--- David Brochu <brochu121 at gmail.com> wrote:

> Does anyone know of a quick example of Twill integration with
> FitNesse? or
> possibly have a short but sweet script that might demonstrate how I
> would
> integrate the two?
> 
> Thanks
> > _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
> 




More information about the testing-in-python mailing list