|
|
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
|
Uncle Bob's Advanced Test Driven Development in NY
3 DAY COURSE. Featuring Uncle Bob (Robert C. Martin) New York, Tuesday, May 29th
|
|
Martine Devos' Certified ScrumMaster
2 DAY COURSE. Featuring Martine Devos London, Thursday, May 31st
|
|
Martine Devos' Certified ScrumMaster
2 DAY COURSE. Featuring Martine Devos London, Monday, June 11th
|
|
Gavin Bell's Social Applications
2 DAY COURSE. Featuring Gavin Bell London, Thursday, June 14th
|
|
Martine Devos Certified Scrum Product Owner
2 DAY COURSE. Featuring Martine Devos London, Thursday, June 14th
|
|
Jon & Kevlin's Agile Development Course
3 DAY COURSE. Featuring Jon Jagger London, Monday, June 18th
|
|
Kevin Ryan's Kanban Workshop
2 DAY COURSE. Featuring Kevin Ryan London, Monday, June 18th
|
|
QCon New York 2012
CONFERENCE (3 DAYS)
New York, Monday, June 18th
BOOK NOW!
|
|
|
|