Java Scrap Book  

Java Scrap Book > TestNG > Test Annotation

Test Annotation

@Test annotation defines a method a test method.

@Test Sample Code


import  org.testng.annotations.Test;
public class TestNGBasicTest {
public void basicDemoTest() {
System.out.println("This is basic test ");


This is basic test

Copyright © 2013-2019 is a computer science content service should not be treated as the publisher or speaker of any information provided by another Computer Science content provider.

Contact email: