BT

InfoQ Homepage News Tutorial: Using FitNesse with .NET

Tutorial: Using FitNesse with .NET

Bookmarks
Gojko Adzic has produced a short tutorial [pdf] on getting FitNesse to work for .NET applications. FitNesse is an enhancement to Fit, the acceptance testing framework developed by Ward Cunningham:
Fit works by reading tables in HTML files, produced with a tool like Microsoft Word. Each table is interpreted by a "fixture" that programmers write. The fixture checks the examples in the table by running the actual program.
FitNesse leverages Fit to provide a collaborative environment for developers and business users to create the acceptance tests which are then automated with Fit test fixtures:
FitNesse is an HTML and wiki "front-end" to FIT. While Fit makes it possible to run test tables, it does not itself provide an easy means of creating those tables or displaying the results of those tests. This is where FitNesse comes in. FitNesse makes it really easy to create, run, organize, annotate, and share Fit tests throughout a software development team.
Fit and FitNesse are powerful tools for agile development teams. The issue, writes Gojko, is that the FitNesse documentation focuses on the Java implementation, which too often leaves .NET users to fend for themselves:
The online user guide deals only with the Java integration, and .Net implementation has a lot of subtle differences. Details of those specifics are scattered throughout the Internet, so I spent quite some time collecting partial information from blogs, but on the end, all the roads lead to the debugger. FitNesse.Net is, fortunately, open source, so I got the source code from Sourceforge and found what is really going on. As I could not find a complete, consolidated guide that explains how to start testing .Net code with FitNesse, I decided to write one myself and share it, so that others do not have to learn it from the debugger.
Gojko's tutorial helps .NET users new to FitNesse get up and running, from download to installation to writing their first test fixtures. Anyone seeking information beyond this can find it in the book Fit for Developing Software, by Rick Mugridge and Ward Cunningham.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.