문제

We currently use JUnit for testing, but this will be our team's first try at paralleling the tests.

Would there be a major advantage to moving using TestNG?

도움이 되었습니까?

해결책

I don't think there is any specific advantage of using TestNG in preference of JUnit with regards to the parallelizing of tests. It's pretty straightforward to get tests to run in parallel using either library, and we have created a sample test for JUnit that demonstrates how to run the tests in parallel.

The Sauce TestNG samples also demonstrate how to configure the tests to run in parallel, which is done via the XML configuration file.

We have also created a ConcurrentParameterized test runner for JUnit, which will supports running parameterized tests in parallel.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top