SyntaxFix
Write A Post
Hire A Developer
Questions
For me I added JUnit4.12 and Hamcrest1.3 on the classpath and changed import org.testng.annotations.Test; or import org.testng.annotations.*; to import org.junit.Test;. It finally works fine!
JUnit4.12
Hamcrest1.3
import org.testng.annotations.Test;
import org.testng.annotations.*;
import org.junit.Test;