java.lang.Exception: No tests found matching Method using Intellij IDEA

后端 未结 12 2230
说谎
说谎 2020-12-14 14:12

I am experiencing a strange behavior of Intellij IDEA 2016.3. Having a class with method foo and a JUnit test for the method when I get java.lang.Exceptio

12条回答
  •  旧巷少年郎
    2020-12-14 15:09

    In my case, I copied a test from another class and modified it, but while running the test it was still pointing to the previous one.

    Build > Clean Project solved the problem

提交回复
热议问题