0 test class found in package ‘

前端 未结 9 2100
长发绾君心
长发绾君心 2021-02-06 22:32

I have recently installed IntelliJ IDEA 13.1.4 and the jRebel plugin. I have licensed it ok and created and added configurations in catalina.bat file.

When

9条回答
  •  太阳男子
    2021-02-06 23:10

    Make sure your class is declared as public and not 'default'

    public class MyClassTest
    

    as opposed to:

    class MyClassTest
    

    When creating a new test class via IntelliJ shortcut the generated class was not declared as public and that caused the error.

提交回复
热议问题