Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

.net

fitnesse

Has anyone tried that? What's your experience?

like image 905
Max Galkin Avatar asked Nov 12 '09 17:11

Max Galkin


2 Answers

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
like image 124
ryber Avatar answered Sep 18 '22 15:09

ryber


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

like image 30
Mike Stockdale Avatar answered Sep 20 '22 15:09

Mike Stockdale