TestNG tutorial

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

My question is about TestNG in Maven Project.

When I use @Test annotation in a Test class, I get some text which automatically
inserted in my code below the @Test annotation. (Run | Debug).
How to get rid from this. When I use other annotation no issues were reported.
I have reinstalled Java, TestNG and Maven. I have also added Maven Plugin for
Eclipse and TestNG plugin.

The test class is in /src/test/java

Below is my Test Code:



public class AppTest
{
@Test
Run | Debug
public void testData()
{
System.out.println(" TestData ");
}

@Test
Run | Debug
public void appDemo()
{
System.out.println(" AppDemo ");
}
}


Can you please tell me why it happens?

shankarraj
Автор

I slept 3 times because of the sweet background music :)

avdhesh
Автор

Presentation is too slow and music isn't appropriate for tutorial. This video should not last more than 10 minutes. -1.