Massimiliano
Massimiliano

Reputation: 16980

Can I use Fit/Fitnesse to test a .NET application?

Has anyone tried that? What's your experience?

Upvotes: 7

Views: 1923

Answers (4)

Fery
Fery

Reputation: 481

useful link if you are working with .Net4 http://bhenderson.blogspot.ca/2010/06/fitsharp-with-net-40-hangs-fitnesse.html

Upvotes: 0

Mike Stockdale
Mike Stockdale

Reputation: 5266

This is where the latest info is: http://fitsharp.github.com

Upvotes: 5

ryber
ryber

Reputation: 4555

Yes, Fit/Fitnesse does have a .NET runner. We use it everyday and I have to say that It works very well and we have been quite successful with it. We currently have several hundred test pages with 10,000+ assertions. Our product owners are engaging our developers to write tests. The tests are hoked up to CI, we have a inMemory mode so developers can get fast feedback on failures and a slower mode for full stack integration.

It also has the awesome side effect of forcing developers to keep logic out of the UI. I honestly would not want to program .Net without it...or something like it.

**EDIT FOR QUESTION ** you just have to define the .NET test runner as your runner and add your applications bin to classpath. Another odd thing you might run into is that your fixtures can't have namespaces (there may be a way around this but I don't know it). So the front of your wiki should have something like this:

variable defined: COMMAND_PATTERN=%m %p
variable defined: TEST_RUNNER=dotnet\FitServer.exe
variable defined: PATH_SEPARATOR=;

classpath: .\..\..\FrontEnd\Fixtures\bin\Debug\*.dll
classpath: .\dotnet\*.dll

Upvotes: 7

Related Questions