Why brefore test after test sting are not printed There is not error now 4 Test Cases passed but before test after test are not printed | Rest Assured Training

Rest Assured Training Forum

why brefore test after test sting are not printed There is not error now 4 Test Cases passed but before test after test are not printed

S
Sudip Das Post on 17/12/2018

A

Instructor

Abhinav Reply on 17/12/2018

You have to add @BeforeTest and @AfterTest annotation above the method signature.

Ex:

@BeforeTest
public  void  someTest()
{
}