Trinidad: In-process test runner for FitNesse wiki pages

Trinidad is an in-process test runner for FitNesse tests. Here's what you can do with it:

  • run fitnesse fit and slim tests without starting the server as part of your build
  • run fitnesse tests from JUnit within your IDE
  • debug and troubleshoot fitnesse fixtures in-process as if you were working with unit tests
  • easily include fitnesse acceptance tests into your build (through JUnit)
  • easily run tests in transactions and roll back after each test (with Spring)
  • execute fitnesse tests from maven

status

  • version 20100103 is bundled with fitnesse - see below
  • version 20091121 is bundled with fitnesse, similar to 20090818 - see below
  • version 20090818 is bundled with fitnesse, apart from maven and transactional spring plugins. they are also versioned as 20090818 and tested to work with java slim/fit runners from fitnesse 20090818.
  • version 1.0.9 is tested to work with java slim/fit runners from fitnesse release 20090709, fitlibrary release 20081102, Spring 2.5.5 and JUnit 4.6
  • version 1.0.8 is tested to work with java slim/fit runners from fitnesse release 20090513, fitlibrary release 20081102, Spring 2.5.5 and JUnit 4.6
  • if you run into problems please contact me.

download

  • Version 20090818 JUnit and in-process integration is bundled with FitNesse, you don't need to download anything apart from FitNesse for that.
  • For Versions up to 1.0.9, use Maven repository on http://maven.neuri.com/ and add this dependency to your project:
<dependency>
  <groupId>com.neuri.tdd</groupId>
  <artifactId>fitnesserunner</artifactId>
  <version>${trinidad.version}</version>
</dependency>

source code

JUnit helper

JUnit test runner

maven plugin

mvn trinidad:run-tests -Dtrinidad.test.location=../../fitnesse  -Dtrinidad.run.suite=FitNesse.SuiteAcceptanceTests.SuiteSlimTests

future plans

  • .NET support

Personal Tools