List attributes of parallel tests in TestNG?

Dulani Wickramaratne
Dulani Wickramaratne

Posted On: Apr 06, 2020

 

TestNG allows for tests to run in parallel or in multi-threaded mode. Here, different threads are started simultaneously and test methods are executed in them. The parallel attribute on the 'test' tag will run all the @Test methods in the tag in the same thread and each tag will run in separate thread parallelly. Not only in the 'test' tag, but parallel attribute can also be set in classes, methods, instances to run it parallelly.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    TestNG Interview Questions

    What is TestNG?

    TestNG is a testing framework written in Java to cover a wide array of test categories like unit testing, functional testing, end-to-end test, integration test, etc. It is inspired from JUnit and NUni...

    TestNG Interview Questions

    List some features of TestNG Framework?

    Some of the important features of TestNG framework are,Support for Annotation. Support for data-driven-testing and parameters. Support for multiple instances in the same test class. Has a good ...

    TestNG Interview Questions

    What is Testng full form?

    The full form of TestNG is Test Next Generation....