bodiam/grails-fitnesse — pull request #1 by johnrengelman (2012-02-28 00:45:00+00:00)
Title: Updates to better integrate with development cycle

We use Fitnesse extensively for integration testing our application, so I made some improvements to the plugin to assist with our Continuous Integration.
1) Moved Fitnesse tests into it's own Phase/Type (fitnesse:fitnesse). I followed the Geb plugin's methodology to do this. This allows better control for when fitnesse tests are run. The phase runs in the integration mode
2) Modified the GrailsFitnesseTestRunner to correctly startup a Fitnesse server during the fitnesse test phase to execute fitnesse tests against. No need to have an external server or start 2 instances. 'grails test-app' will now run fitnesse tests as part of the test suite.
3) Output the Fitnesse XML test results to target/test-reports/fitnesse
4) Parse the Fitnesse XML test results and create generic JUnit Test objects. This allows the JUnit Reporting framework to output the .txt file and the JUnit .xml file. This also allows Fitnesse test results to participate in the Grails Test Report HTML file
5) Updated to latest fitnesse.jar. I tried to make this a BuildConfig dependency but this breaks compatibility with older versions of Grails (1.3.x) because the plugin and the jar file have the same name
6) Updated plugin project to Grails 2.0.1