TestNg Beginner's Guide by 2013

TestNg Beginner's Guide by 2013

Author:2013
Language: eng
Format: epub
Publisher: Packt Publishing


Parallelism

Parallelism or multithreading in software terms is defined as the ability of the software, operating system, or program to execute multiple parts or subcomponents of another program simultaneously. This ability is provided by TestNG too, it allows the tests to run in parallel or multithreaded mode. This means that based on the test suite configuration, different threads are started simultaneously and the test methods are executed in them. This gives a user a lot of advantages over normal execution, mainly reduction in execution time and ability to verify a multithreaded code. There are different ways in which this feature can be configured in TestNG. We will learn about these configurations going forward in this chapter. Let's start with a sample program first.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.