I have inherited a Java project and am new to Java development. I feel a good way for me to get comfortable with the code is to write some tests around it. I\'m writing my c
I had the same issue, in Intellij IDEA, for Java framework. I was doing all right:
But I did one thing wrong: the name of the method didn't start with "test", in fact was:
@Test
public void getSomethingTest(){
and when I changed it into:
@Test
public void testGetSomethingTest(){
I've resolved: the executor was finally able to recognize this method as a test method. I've changed nothing else.