Trace: » systemundertest » trinidad
Table of Contents
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
- 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
- available on google code http://code.google.com/p/trinidad
JUnit helper
see http://fitnesse.org/FitNesse.UserGuide.RunningFromJunit see http://github.com/gojko/fitnesse/blob/master/src/fitnesse/junit/JUnitHelperExampleTest.java
JUnit test runner
see http://fitnesse.org/FitNesse.UserGuide.RunningFromJunit see http://github.com/gojko/fitnesse/blob/master/src/fitnesse/junit/FitNesseSuiteExampleTest.java
maven plugin
- Add http://maven.neuri.com/ as a plugin repository
- see http://neuri.co.uk/resources/projects/trinidad/maven-trinidad-plugin/run-tests-mojo.html for information on configuring the plugin
- execute from the command line
mvn trinidad:run-tests -Dtrinidad.test.location=../../fitnesse -Dtrinidad.run.suite=FitNesse.SuiteAcceptanceTests.SuiteSlimTests
- or add the plugin configuration to your POM build file, and bind it to a test phase. See http://trinidad.googlecode.com/svn/trunk/trinidad/maven-trinidad-plugin-test/pom.xml for an example
- see http://fitnesse.org/FitNesse.UserGuide.RunningFromMaven for more info and examples
future plans
- .NET support
