I get the next problem:
junit.framework.AssertionFailedError: No tests found in TestT
As I read on the Internet, this problem occurs when there is no @Test before the test method. So, I added it:
@SuppressWarnings("deprecation")
@Test
public void dateSimpleTest(){
....
}
but it still gives me the same error. I also import the next:
import junit.framework.*;
import org.junit.Test;
What can be the problem?
Try renaming your test method. Start the name of your test method with ‘test’like ‘testDateSimple’.