jeudi 14 mai 2020

Running testNG suites in parallel

I use gradle + testNG

Tests dynamically generate set XML files

As a result, there is a file

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite thread-count="2" name="Suite" parallel="instances">
    <suite-files>
        <suite-file path="test-suite.xml"/>
        <suite-file path="test2-suite.xml"/>
    </suite-files>
</suite>

How to start parallel execution of data Suite?

The documentation has an example with maven and -suitethpoolsize

https://testng.org/doc/documentation-main.html#parallel-suites

Not suitable for gradle

I searched the Internet and did not find a working solution

Aucun commentaire:

Enregistrer un commentaire