[
https://issues.apache.org/jira/browse/SUREFIRE-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hemanth updated SUREFIRE-1299:
------------------------------
Description:
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>
Can I do the same inside the pom.xml?
Unfortunately there is no documentation on this. I am assuming that there isn't.
was:
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="methods"
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>
Can I do the same inside the pom.xml?
Unfortunately there is no documentation on this. I am assuming that there isn't.
> Distributed testing using junit/testng inside pom.xml
> -----------------------------------------------------
>
> 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
> 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>
> Can I do the same inside the pom.xml?
> Unfortunately there is no documentation on this. I am assuming that there
> isn't.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)