본문 바로가기

각종 설치Issue & Solution & Enlightenment

No runnable methods

 

org.junit.runners.model.InvalidTestClassError: Invalid test class 'jpabook.jpashop.MemberRespositoryTest':
  1. No runnable methods

 

아래 글을 보고 단숨해 해결

출처: https://hermeslog.tistory.com/572

}

해결 :

In my case I had wrong package imported:

import org.testng.annotations.Test;

instead of

import org.junit.Test;

Beware of your ide autocomplete.