JUnit testing got initializationError with java.lang.Exception: No tests found matching

后端 未结 8 1524
别那么骄傲
别那么骄傲 2021-01-01 18:59

When running JUnit testing , it gave an initializationError: No tests found matching. Like this:

prodapi-main-junit
initializationError(org.junit.runner.man         


        
8条回答
  •  悲&欢浪女
    2021-01-01 19:47

    If it is a maven project run eclipse:eclipse as a Maven build.That resolved my problem.

提交回复
热议问题