I'm using Selenium WebDriver
, Junit 4.9
, maven
for testing.
Now I need to parallel tests. I added the plugin below, then tried to run it from IntelliJ IDEA 11
, but it was still running sequentially.
Is there anything wrong I did?
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.16</version>
<configuration>
<parallel>classes</parallel>
<threadCount>3</threadCount>
</configuration>
</plugin>