Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

What does the test timeout mean in TestNG?

Category: TestNG

@Test(threadPoolSize = 3, invocationCount = 10, timeOut = 10000)
public void testCase1(){

In this example, the function testCase1 will be invoked ten times from three different threads. Additionally, a time-out of ten seconds guarantees that none of the threads will block on this thread forever.

Leave a Reply

Your email address will not be published. Required fields are marked *