Parallel Spock Tests

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Parallel Spock Tests

Robert Stagner
I'm using 

Spock: 1.0-groovy-2.4
Maven: 3.2.1
Maven-Surefire: 2.18.1

How can I get my spock tests to run in parallel?

I've tried

<configuration>
  <parallel>classes</parallel>
  <threadCount>3</threadCount>
  <useFile>false</useFile>
  <includes>
    <include>**/*Spec.java</include>
  </includes>
</configuration>

 
But, that did not work

And, I've looked for documentation on this topic, but could not find much.  I did find, however, a link to an open Spock Pull Request: https://github.com/spockframework/spock/pull/67  

--
You received this message because you are subscribed to the Google Groups "Spock Framework - User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/spockframework.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Parallel Spock Tests

dumbdev
I have tried to do the same, but not working for me. I have read through this list, followed examples, still could not get it to work.

I am using 
<plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.18</version>
                <configuration>
                    <includes>
                        <include>**/*Spec.java</include>
                    </includes>
                    <parallel>classes</parallel>
                    <threadCount>2</threadCount>
                </configuration>
            </plugin>

Thanks a lot.

Eddy
On Monday, August 31, 2015 at 1:26:00 AM UTC+1, Robert Stagner wrote:
I'm using 

Spock: 1.0-groovy-2.4
Maven: 3.2.1
Maven-Surefire: 2.18.1

How can I get my spock tests to run in parallel?

I've tried

<configuration>
  <parallel>classes</parallel>
  <threadCount>3</threadCount>
  <useFile>false</useFile>
  <includes>
    <include>**/*Spec.java</include>
  </includes>
</configuration>

 
But, that did not work

And, I've looked for documentation on this topic, but could not find much.  I did find, however, a link to an open Spock Pull Request: <a href="https://github.com/spockframework/spock/pull/67" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fspockframework%2Fspock%2Fpull%2F67\46sa\75D\46sntz\0751\46usg\75AFQjCNHhSpiCUM3VRSsEFXSy5CshlQq-WA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2Fspockframework%2Fspock%2Fpull%2F67\46sa\75D\46sntz\0751\46usg\75AFQjCNHhSpiCUM3VRSsEFXSy5CshlQq-WA&#39;;return true;">https://github.com/spockframework/spock/pull/67  

--
You received this message because you are subscribed to the Google Groups "Spock Framework - User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/spockframework.
For more options, visit https://groups.google.com/d/optout.