How to exclude specific files/package from parallel test using maven surefire plugin

1,195 views
Skip to first unread message

berry

unread,
Dec 24, 2015, 8:50:14 PM12/24/15
to testng-users
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <configuration>
        <parallel>classes</parallel>
        <useUnlimitedThread>true</useUnlimitedThread>  
        <excludes>
            <exclude>a/b/c/d/test1.java</exclude>
            <exclude>a/b/c/d/test2.java</exclude>
        </excludes>           
    </configuration>

Krishnan Mahadevan

unread,
Dec 27, 2015, 9:07:46 PM12/27/15
to testng...@googlegroups.com

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To post to this group, send email to testng...@googlegroups.com.
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages