[ 
http://jira.codehaus.org/browse/MFITNESSE-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=225000#action_225000
 ] 

pkernevez commented on MFITNESSE-37:
------------------------------------

Hi Atle,

I applied you patch.
I now try to add integration test for these features, but it does't pass the 
tests.
The reason is that the exclude filter isn't supported by fitnesse (cf. code 
below).
The exclude seems to be supported as an url parameter 
http://fitnesse.org/FitNesse.UserGuide.TestSuites.TagsAndFilters but not as a 
command line parameter 
http://fitnesse.org/FitNesse.UserGuide.CommandLineTestRunner

Do you use it ? If yes, with which version do you use it ?

{code}
java -cp XXX.jar fitnesse.runner.TestRunner -v -html 
/Users/pkernevez/SCM/ProjectSVN/fitnesse-maven-pluginPourPatch/target/it/20080702-10030/suitefilter/target/fitnesse/fitnesseResult_localhost_FitnesseIntegrationTest.SuiteFiltering_tmp.html
 -nopath -suiteFilter All -excludeSuiteFilter One localhost 10030 
FitnesseIntegrationTest.SuiteFiltering
[INFO] From 
=/Users/pkernevez/SCM/ProjectSVN/fitnesse-maven-pluginPourPatch/target/it/20080702-10030/suitefilter/target/fitnesse
[INFO] usage: java fitnesse.runner.TestRunner [options] host port page-name
[INFO]  -v      verbose: prints test progress to stdout
[INFO]  -results <filename|'stdout'>    save raw test results to a file or dump 
to standard output
[INFO]  -html <filename|'stdout'>       format results as HTML and save to a 
file or dump to standard output
[INFO]  -debug  prints FitServer protocol actions to stdout
[INFO]  -nopath         prevents downloaded path elements from being added to 
classpath
[INFO]  -suiteFilter <filter>   executes only tests which are flagged with the 
given filter
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to run Fitnesse, exit code [255]
[INFO] ------------------------------------------------------------------------
{code}

Regards,
Philippe

> Need support for filters when running fitnesse-tests
> ----------------------------------------------------
>
>                 Key: MFITNESSE-37
>                 URL: http://jira.codehaus.org/browse/MFITNESSE-37
>             Project: Maven 2.x Fitnesse Plugin
>          Issue Type: Improvement
>            Reporter: Atle Tokle
>            Assignee: pkernevez
>         Attachments: fitness-maven-plugin_filter-support.diff
>
>
> We work on a team where many people works with fitnesse-tests, and all tests 
> is run on Hudson as a nightly build. This requires that all team-members 
> remembers to turn off test-property on tests not still finished, to avoid the 
> build to break.
> By using the fitnesse arguments -suiteFilter and -excludeSuiteFilter, the 
> tests under work can be marked with a tag that can be excluded in the nightly 
> build, until the tests and the code is correct.
> We need support in the fitnesse-maven-plugin to configure these arguments in 
> the pom.xml file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to