Hi,

I'm looking for a way to change the default suite name generated by surefire
from "TestSuite" to something else.
Using this configuration:
<plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.4.1</version>
                    <configuration>
                        <groups>fast</groups>
                        <excludedgroups>broken</excludedgroups>
                        <properties>
                            <property>
                                <name>suitename</name>
                                <value>${groupId}-${artifactId}</value>
                            </property>
                            <property>
                                <name>testname</name>
                                <value>${artifactId}</value>
                            </property>
                        </properties>
                    </configuration>
                </plugin>

The suitename is changed in testng reports, but in the default
TEST-TestSuite.xml files, it is not.
Any way to do it?

Thanks,
Erez.

Reply via email to