akatie / fitnesse-launcher-maven-plugin

Automatically exported from code.google.com/p/fitnesse-launcher-maven-plugin
0 stars 1 forks source link

Allow to specify more than one suite/test in configuration section #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
v.1.2.2

Currently there is no way of specifying more than one suite/test for execution 
in run-tests goal.

Original issue reported on code.google.com by krzyszto...@gmail.com on 12 Jul 2013 at 9:58

GoogleCodeExporter commented 8 years ago
Hi,
If your suites and tests are organised in a hierarchy, then you can use 
filtering to run collections of sub-suites. (Use version 1.3.0)
http://fitnesse-launcher-maven-plugin.googlecode.com/svn/maven/site/fitnesse-lau
ncher-maven-plugin/filtering.html

If this isn't workable for you, then I guess we'd have to iterate the top-level 
suites with multiple launches of FitNesse, and then aggregate the report 
results afterwards.

Regards,

Stewart

Original comment by stewart@javahelp.co.uk on 16 Jul 2013 at 12:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by stewart@javahelp.co.uk on 29 Jun 2014 at 2:02

GoogleCodeExporter commented 8 years ago
Committed to /trunk at r398, r399, r400, r401 (and SNAPSHOT deployed to repo)

A new config style which will allow multiple top-level Test Suites to be run 
during run-tests goal:
<launches>
   <launch>
        <suite>FirstTestSuite</suite>
        <suiteFilter>tag1,tag2</suiteFilter>
    </launch>
    <launch>
        <suite>SecondTestSuite</suite>
        <excludeSuiteFilter>tag1,tag2</excludeSuiteFilter>
    </launch>
</launches>

Pre-1.4.0 config will still work, and in fact will be senior to this config, as 
that will allow ad hoc overriding of Suites on command line using 
-Dfitnesse.suite=X or -Dfitnesse.test=Y

Original comment by stewart@javahelp.co.uk on 1 Jul 2014 at 12:41