testingfitnessefitnesse-slim

How to run multiple fitness suites at once?


Is it possible to run multiple fitness suite tests at once?

I am aware of the -Dslim.port option and setting this value to 0. Then fitness will supposedly choose an available port. However, I wasn't able to see this in action. I've always ran into this error: java.net.BindException: Address already in use (Bind failed).

I've read some documentation here: http://fitnesse.org/FitNesse.FullReferenceGuide.UserGuide.WritingAcceptanceTests.SliM.SlimProtocol.PortManagement.

My use case for this would be on the UI of fitnesse and not the command line.


Solution

  • I believe we resolved/found the issue. It was caused by a non-concurrent safe fixture (fitnesse.fixtures.SetUp of FitNesse's own test set).

    The take-away: build your own test suites directly under the FitNesseRoot directory and not below FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests