Toggle navigation
Home
(current)
Soapui Training
Course Details
Free Videos
Support Forum
Rest Assured Training
Course Details
Free Videos
Support Forum
Contact Us
(current)
All Courses
(current)
Login
(current)
Avail Discount
Name
Email
Phone Number
Tools
SOAPUI
Rest Assured
Enroll Now
Home
Forum
Rest Assured Forum
My source code below but unbel to run with TestNG and mvn
My source code below but unbel to run with TestNG and mvn
S
Sudip Das
Posted on 17/12/2018
package test2;
import org.testng.annotations.Test;
public class testMvnClass1st {
public void beforeTest()
{
System.out.println("Before Test");
}
public void AfterTest()
{
System.out.println("Before Test");
}
public void beforeMethod()
{
System.out.println("Before Test");
}
public void afterMethod()
{
System.out.println("Before Test");
}
public void beforeClass()
{
System.out.println("Before Class");
}
public void afterClass()
{
System.out.println("After Class");
}
@Test(priority=1)
public void t1()
{
System.out.println("Hello");
}
@Test(priority=2)
public void t2()
{
System.out.println("Hello");
}
@Test(priority=3)
public void t3()
{
System.out.println("Hello");
}
@Test(priority=4)
public void t4()
{
System.out.println("Hello");
}
}