|
|
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 is the author of over 200 articles on programming, operating systems, Internet & new technologies. He has recently published his latest...
More about Gojko Adzic
|
|
PODCAST FITNESSE.NET TIPS AND TRICKS
|
|
|
OPEN SOURCE .NET PODCASTS
|
OTHER OPEN SOURCE .NET EVENTS
|
London .NET User Group
FREE EVENT:
Functional and OO Approaches t
London, Wednesday, March 31st
|
|
Persistence with NHibernate
3 DAY COURSE. Featuring Oren Eini aka Ayende Rahien London, Monday, April 26th
|
|
Introduction into Raven DB
FREE EVENT:
In The Brain of Oren Eini aka Ayende Rahien
London, Wednesday, April 28th
|
|
London F-Sharp User Group
FREE EVENT:
F-Sharp Numerical Optimization
London, Thursday, April 29th
|
|
Robert Pickering's Beginning F# Workshop
2 DAY COURSE. Featuring Robert Pickering London, Monday, May 10th
|
|
Progressive .NET Tutorials
CONFERENCE (3 DAYS)
London, Wednesday, May 12th
BOOK NOW!
|
|
Persistence with NHibernate
3 DAY COURSE. Featuring Oren Eini aka Ayende Rahien London, Monday, May 17th
|
|
Agile Castle Web Development
2 DAY COURSE. Paris, Tuesday, May 18th
|
|
|
|