BAEL-701 Introduction to TestNG
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
package baeldung.com;
|
||||
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
public class TimeOutTest {
|
||||
|
||||
@Test(timeOut = 1000, enabled = false)
|
||||
public void givenExecution_takeMoreTime_thenFail() {
|
||||
while (true) ;
|
||||
}
|
||||
}
|
||||
package baeldung.com;
|
||||
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
public class TimeOutTest {
|
||||
|
||||
@Test(timeOut = 1000, enabled = false)
|
||||
public void givenExecution_takeMoreTime_thenFail() {
|
||||
while (true) ;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user