Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0
-
Fix Version/s: None
-
Labels:None
-
Hide
- Fitnesse.src.main.zip
- 24/Apr/09 9:41 AM
- 114 kB
- Jack McAuliffe
-
- main/.svn/all-wcprops 0.1 kB
- main/.svn/entries 0.3 kB
- main/.svn/format 0.0 kB
- main/java/.svn/all-wcprops 0.1 kB
- main/java/.svn/entries 0.3 kB
- main/java/.svn/format 0.0 kB
- main/java/org/.svn/all-wcprops 0.1 kB
- main/java/org/.svn/entries 0.3 kB
- main/java/org/.svn/format 0.0 kB
- main/java/org/codehaus/.svn/all-wcprops 0.1 kB
- main/java/org/codehaus/.svn/entries 0.3 kB
- main/java/org/codehaus/.svn/format 0.0 kB
- main/java/org/.../mojo/.svn/all-wcprops 0.1 kB
- main/java/org/codehaus/mojo/.svn/entries 0.3 kB
- main/java/org/codehaus/mojo/.svn/format 0.0 kB
- main/java/org/.../fitnesse/.svn/all-wcprops 2 kB
- main/java/org/.../fitnesse/.svn/entries 2 kB
- main/java/org/.../fitnesse/.svn/format 0.0 kB
- main/.../ClassPathSubstitution.java.svn-base 1 kB
- main/java/.../FileUtil.java.svn-base 2 kB
- main/java/.../Fitnesse.java.svn-base 8 kB
- main/.../FitnesseAbstractMojo.java.svn-base 13 kB
- main/.../FitnessePageFileFilter.java.svn-base 1 kB
- main/.../FitnesseRemoteRunnerMojo.java.svn-base 11 kB
- main/.../FitnesseReportMojo.java.svn-base 15 kB
- main/.../FitnesseRunnerMojo.java.svn-base 30 kB
- main/java/.../ClassPathSubstitution.java 1 kB
- main/java/org/.../fitnesse/FileUtil.java 2 kB
- main/java/org/.../fitnesse/Fitnesse.java 8 kB
- main/java/.../FitnesseAbstractMojo.java 13 kB
-
- stacktrace_with_fitnesse_20081201.log
- 20/Jan/09 1:41 PM
- 4 kB
- Tim Andersen
Issue Links
- depends upon
-
MFITNESSE-29
Provide an automation for all the integration tests
-
- is depended upon by
-
MFITNESSE-28
Suite Fuiltering - Feature Request
-
Activity
The attached file (I removed my classpath and file paths) is a stack trace of what happens when I run my build using the fitnesse-maven-plugin with fitnesse-20081201
I ran "mvn clean install -e"
This build worked fine with fitnesse-20070609, but I cannot upgrade the version of FitNesse I am using until this plugin is compatible.
I posted a question about this to the FitNesse community http://tech.groups.yahoo.com/group/fitnesse/message/12254
The issue here is that the fitnesse commanline test runner has changed and no longer accepts the command line argument -html (among others), it only creates output in xml format now. The prepareCommandLine in FitnesseRunnerMojo is hard coded to pass in the -html argument so this needs to be changes. And since the fitnesse only creates reports in xml format now, you need to modify the FitnesseRunnerMojo to xslt the results in order to produce the html report.
I downloaded the source for the plugin myself and made the necessary changes. I have also added support for suiteFilters, and updated the RemoteRunner to also use XSLT transformation. The zipped code is attached here. You can incorporate it into the main plugin as you like
Zipped folder of the changes source files to work with latest version of fitnesse. Download the source and replace the src/main folder with contents of zip. Change the fitnesse version in the pom.xml and rebuild. Works fine.
I am new to FitNesse and also this plugin. Just want to check if I can help in this issue? I tried fitnesse-maven-plugin 1.0 + fitnesse 20110104, fitnesse:run is not working, complaining for
java.lang.NoSuchMethodError: fitnesse.runner.PageResult.setCounts(Lfit/Counts; )V
which seems to me is caused by change in FitNesse's API
It is the same even I used the attached source here.
If someone can give me some direction where I can help, probably I can help in fixing this part (or is anyone handling this already?)
FitNesse has had a lot of active development lately. The latest source can be found here:
http://github.com/unclebob/fitnesse/tree/master
The latest release can be found here:
http://fitnesse.org/FitNesseDevelopment.DownLoad