views:

473

answers:

6

I'm trying to get started with FitNesse for .NET on Windows Vista. In all tutorials I find on the web I'm told to execute the run.bat file, but all i get when downloading the latest release is a .jar-file. When i run this, the filestructure is unpacked and I can reach the fitnesse server by browsing to http://localhost. Now, when I'm trying to set up a test project, according to all documentation I find I'm supposed define the path to fitsharp.dll but I can't find this file anywhere in the filestructure that was set up from the .jar-file. What am I doing wrong?

Sincerely, Fredrik

A: 

Hi Fredrik

I wrote this article:

http://www.programgood.net/2009/10/21/TestDrivenDevelopmentInNETCustomerTestsTheWebServiceUsingFitnesseCh7.aspx

This may help..let me know how you go.

Cheers

Dave
+3  A: 

The .NET code is no longer bundled with FitNesse and is available here: http://github.com/jediwhale/fitsharp/downloads

Here's some information to get you started: http://fitsharp.github.com

Mike Stockdale
A: 

If you haven't unpacked the .jar file, you need to run: java -jar fitnesse.jar. If you got that far, then follow jediwhale's very good tutorial. Here's a second, similar, tutorial, too: http://schuchert.wikispaces.com/FitNesse.Tutorials.CSharp.Slim.EachTable

A: 

Thank you for your replies, I got it started after installing fitsharp.

Sincerely, Fredrik

Fredrik
Fredrik, could you please select a reply as the "Answer", or provide your own answer and select it?
Charles
+1  A: 

Checkout this free ebook: Test Driven .NET Development With FitNesse: Second Edition

It will show you everything you need, from how to set up FitNesse with FitSharp, to best practices.

You'll need to get the FitSharp dll from http://github.com/jediwhale/fitsharp/downloads.

Charles
+1  A: 

Goto your http://localhost/root (special page for FitNesse) and paste this in there:

variable defined: COMMAND_PATTERN=%m -r fitnesse.fitserver.FitServer,dotnet2\fit.dll %p
variable defined: TEST_RUNNER=dotnet2\Runner.exe
variable defined: PATH_SEPARATOR=;
classpath: dotnet2\*.dll

Unzip the FitSharp binaries into a folder called dotnet2 under the folder you unpacked FitNesse.

FitSharp also includes DbFit for MSSQL & Oracle testing.

Brett Veenstra