In the previous chapter we had learned about the
@Factory annotation, its advantages, its comparison with data-driven tests, and how it can be used along with data-driven tests. In this chapter we will cover the parallelism or the multithreading feature provided by TestNG. We will also learn about the different configuration options provided by TestNG for running the tests in parallel or multithreaded mode.
In this chapter we'll cover the following topics:
Parallelism or multithreading in software terms ...