Github user Tibor17 commented on the pull request:
https://github.com/apache/maven-surefire/pull/106#issuecomment-143760174
Is there the same principle with thread count for suites?
I did not test suite thread count because I do not have IT.
Can you try?
On Mon, Sep 28, 2015 at 4:25 PM, Tibor Digana <[email protected]>
wrote:
> All you need to do is to call this method with Java Reflection.
> There is `surefire-testng-util` module.
> You should create reflection utility in there.
>
> Please be inspired by `JUnit4ProviderUtil`, `ReflectionUtils` and `
> JUnit4Reflector`.
>
> Then create `TestNgReflector` class using `ReflectionUtils` with
> fail-fast method `setDataProviderThreadCount` throwing `
> SurefireReflectionException`.
> In your case the put message in the exception should be properly saying
> that this method is supported since TestNG 5.10 or higher.
>
> Do not forget the license header and Javadoc on the top of your class,
> otherwise the rat-plugin will fail.
>
>
> On Mon, Sep 28, 2015 at 3:26 PM, Julien Herr <[email protected]>
> wrote:
>
>> Sometime code is easier than explainations :) I updated #105
>> <https://github.com/apache/maven-surefire/pull/105>. Feel free to
>> comment.
>>
>> â
>> Reply to this email directly or view it on GitHub
>>
<https://github.com/apache/maven-surefire/pull/106#issuecomment-143743363>
>> .
>>
>
>
>
> --
> Cheers
> Tibor
>
--
Cheers
Tibor
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]