[ 
https://issues.apache.org/jira/browse/SUREFIRE-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Koen Serneels updated SUREFIRE-1237:
------------------------------------
    Description: 
At the moment I grouped the test classes of a Maven module into different 
TestNG suite files based on some criteria. The different suite's are ran 
sequentially ootb by surefire. With the current version it is possible to run 
the suites in parallel using multiple threads (using a single JVM). 

However, in my situation I need them to run forked in different JMVs per suite 
XML file. While there are also fork options, they don't seem to work icw suite 
XML files. So, what I want is that tests are execute sequentually in each 
forked JVM. So for example, JVM1 will work on all tests contained by suite XML 
1 (running them sequentially). Then in parallel,  JVM2,3,4 etc will do the same 
thing for tests contained in there assigned suite XML file.

  was:At the moment I grouped the test classes of a Maven module into different 
TestNG suite files based on some criteria. The different suite's are ran 
sequentially ootb by surefire. With the current version it is possible to run 
the suites  in parallel using multiple threads. However, in my situation I need 
them to run forked in different JMVs per suite XML file. The tests in each JVM 
are then executed sequentially. So for example, JVM1 will work on all tests 
contained by suite1 (running them sequentially) in parallel,  JVM2,3,4 etc will 
do the same thing for their assigned suite XML file.


> Running suites forked
> ---------------------
>
>                 Key: SUREFIRE-1237
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1237
>             Project: Maven Surefire
>          Issue Type: New Feature
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.19.1
>            Reporter: Koen Serneels
>
> At the moment I grouped the test classes of a Maven module into different 
> TestNG suite files based on some criteria. The different suite's are ran 
> sequentially ootb by surefire. With the current version it is possible to run 
> the suites in parallel using multiple threads (using a single JVM). 
> However, in my situation I need them to run forked in different JMVs per 
> suite XML file. While there are also fork options, they don't seem to work 
> icw suite XML files. So, what I want is that tests are execute sequentually 
> in each forked JVM. So for example, JVM1 will work on all tests contained by 
> suite XML 1 (running them sequentially). Then in parallel,  JVM2,3,4 etc will 
> do the same thing for tests contained in there assigned suite XML file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to