CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Jeffrey Palermo [MVP]

Software management consultant and CTO, Headspring Systems

How to get FitNesse to switch to .Net mode - level 300

FitNesse is an acceptance test framework that supports Java and .Net.  When you download it, it will be in Java mode, and all the sample test pages will run Java tests.  It may not be completely clear how to run a new test page against a .Net assembly instead of a Java package.  When you create a new page, add the following:

!define COMMAND_PATTERN {%m %p}
!define TEST_RUNNER {dotnet\FitServer.exe}
!define PATH_SEPARATOR {;}
!path dotnet\fit.dll
!path dotnet\*.dll

|eg.Calculator|
|points?|
|false  |

This will run the included Calculator fixture in eg.dll that is included with the download, so you don't have to write any code yourself.  Note that the FitNesse web server is a Java wiki, so you'll need the JRE from sun


Published Aug 12 2005, 12:01 PM by Jeffrey Palermo
Filed under:

Comments

Steve Donie said:

Very timely. Just installed FitNesse on Friday and we're doing .NET development, so this was a helpful kickstart. Just ordered the FIT book by Cunnigham & Mugbridge also, so I hope that is helpful. The docs online seem somewhat cryptic.

I need to do some reading up on how to get a .NET suite set up. I know there is an example in there, so I'm gonna go read that. Maybe I'll write that up on my own blog.
# August 16, 2005 10:31 AM

Ruslan Trifonov's blog said:

I'm digging lately with my team into our new product. We are using a full stack of buzz words in

# September 21, 2006 5:39 PM

About Jeffrey Palermo

Jeffrey Palermo is a software management consultant and the CTO of Headspring Systems in Austin, TX. Jeffrey specializes in Agile coaching and helps companies double the productivity of software teams. Jeffrey is an MCSD.Net , Microsoft MVP, Certified Scrummaster, Austin .Net User Group leader, AgileAustin board member, INETA speaker, INETA Membership Mentor, Christian, husband, father, motorcyclist, Eagle Scout, U.S. Army Veteran, and Texas A&M University graduate. Check out Devlicio.us!

This Blog

Syndication