|
|
In The Brain of Gojko Adzic: FitNesse.NET Tips and Tricks
FitNesse.NET Tips and Tricks
In this talk, Gojko Adzic talks about efficient usage of FitNesse within the dotNET environment. FitNesse is an enhancement to the Fit acceptance testing framework. FitNesse provides a collaborative environment for agile acceptance testing which can be automated with Fit test fixtures. It saves a lot of time by writing fixture code efficiently. The talk also covers the new features of FitNesse R1.8. With these tricks, it is possible to write tests without writing any fixture code.
Gojko demonstrates how to use FitNesse on a simple sample domain. The sample acceptance test checks if the links are stored properly in the repository. Fixture types like row fixture, setup fixture and do fixture are used for this purpose. The trick of using System Under Test (SUT) for flow fixtures and sequence fixtures allows us to work around the limitation of extending the Fixture class.
SUT methods and fixture methods can be mixed or SUT’s can be switched rapidly from the test page by using some new keywords lie “with” and “name” and by using subset fixtures. Another trick is to use automatic domain object wrapping which allows us to use the domain class in the table header instead of using a fixture. Cell handlers can be used to tell FitNesse how to interpret a set of cells. Gojko gives an example of using regex for this purpose. Using suite configuration files to keep test pages tidy is another trick that is explained.
More information can be found in Gojko’s FitNesse book:
http://gojko.net/fitnesse/book
Slides used in this talk:
http://gojko.net/resources/FitNesseTipsAndTricks-20090217.ppt
Source code can be found here:
http://gojko.net/resources/fitnessetipsandtricks-20090217.zip
Also you can take a look at Gojko’s new book, which considers acceptance testing from a business perspective http://www.acceptancetesting.info/the-book/
ABOUT GOJKO ADZIC
|
Gojko has helped numerous teams implement best specification-by-example practices, written two books on the subject and contributed to several open source projects. He frequently speaks at leading industry conferences.
More about Gojko Adzic
|
|
PODCAST FITNESSE.NET TIPS AND TRICKS
|
|
|
AGILE LEADERSHIP PODCASTS
|
OTHER AGILE LEADERSHIP EVENTS
|
Dialogue Sheets, a new tool for retrospectives
FREE EVENT:
In The Brain of Allan Kelly
London, Monday, February 13th
|
|
Kanban For Agile Portfolio Management
FREE EVENT:
In The Brain of Kevin Ryan
London, Monday, February 13th
|
|
Martine Devos' Certified ScrumMaster
2 DAY COURSE. Featuring Martine Devos London, Thursday, February 23rd
|
|
Linda Rising's Patterns for Introducing New Ideas
1 DAY COURSE. Featuring Linda Rising London, Monday, February 27th
|
|
Martine Devos' Coaching Kanban for Teams
2 DAY COURSE. Featuring Martine Devos London, Monday, February 27th
|
|
Deception and Estimation: How We Fool Ourselves
FREE EVENT:
In The Brain of Linda Rising
London, Monday, February 27th
|
|
Linda Rising's Influence Strategies
.5 DAY COURSE. Featuring Linda Rising London, Tuesday, February 28th
|
|
Jon & Kevlin's Agile Development Course
3 DAY COURSE. Featuring Jon Jagger London, Monday, March 5th
|
|
|
|