Quiz: TestNG

In this lesson, your understanding of these concepts will be evaluated through a quiz.

1

Which combination of annotated methods runs before and after every test method?

A)

@BeforeTest & @AfterTest

B)

@BeforeMethod & @AfterMethod

C)

@BeforeSuite & @AfterSuite

D)

@BeforeClass & @AfterClass

Question 1 of 50 attempted

Get hands-on with 1000+ tech skills courses.