[ https://issues.apache.org/jira/browse/SUREFIRE-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tibor Digana reassigned SUREFIRE-1299: -------------------------------------- Assignee: Tibor Digana > Distributed testing using junit inside pom.xml(just like testnames property > in testng maven) > -------------------------------------------------------------------------------------------- > > Key: SUREFIRE-1299 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1299 > Project: Maven Surefire > Issue Type: Bug > Components: Junit 4.7+ (parallel) support, TestNG support > Reporter: Hemanth > Assignee: Tibor Digana > Priority: Minor > > Is there a way to configure the distribution of tests in pom.xml to run on > different machines like how we do in testng.xml(Eg: below) > <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"> > <suite name="Google Test" data-provider-thread-count="4" parallel="tests" > thread-count="4"> > > <test name="Regression Testing"> > <parameter name="browser" value="firefox"></parameter> > <parameter name="remote Url" > value="http://hemanthip:5555/wd/hub"></parameter> > <classes> > <class name="org.google.modules.SearchModuleTest" ></class> > </classes> > </test> > > <test name="Test2"> > <parameter name="Browser" value="chrome"></parameter> > <parameter name="remote Url" > value="http://hemanthip:4567/wd/hub"></parameter> > <classes> > <class name="org.google.modules.TC03" ></class> > <class name="org.google.modules.TC04" ></class> > </classes> > </test> > </suite> > </plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-surefire-plugin</artifactId> > <version>2.19.1</version> > <configuration> > <suiteXmlFiles> > <file>src/test/resources/testng.xml</file> > </suiteXmlFiles> > <properties> > <property> > <name>testnames</name> > <value>Regression Testing,Test2</value> > </property> > </properties> > </configuration> > </plugin> > </plugins> > Can I do something similar inside the pom.xml for Junit? > Unfortunately there is no documentation on this. I am assuming that there > isn't. > Thank you in advance. -- This message was sent by Atlassian JIRA (v6.3.4#6332)