How can you pass "parallel" and "forkCount" properties to testNG using the maven command line?
According to the documentation:
(TestNG provider) When you use the
parallelattribute, TestNG will try to run all your test methods in separate threads, except for methods that depend on each other, which will be run in the same thread in order to respect their order of execution.User property is:
parallel.
User property is:
forkCount.
So you can use them like:
mvn test -Dparallel=<value> -DforkCount=<value>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With