空测试:导致一个错误


test:
    [junit] Running ProjProgAppsTest
    [junit] Testsuite: ProjProgAppsTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
    [junit]
    [junit] Null Test:  Caused an ERROR
    [junit] ProjProgAppsTest
    [junit] java.lang.ClassNotFoundException: ProjProgAppsTest
    [junit]     at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    [junit]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    [junit]     at java.lang.Class.forName0(Native Method)
    [junit]     at java.lang.Class.forName(Class.java:264)
    [junit]
    [junit]
BUILD FAILED

我从测试中得到了这个输出。是什么导致了错误?如何解决这个问题?有人能帮帮我吗?

JUnit Wiki有一篇文章Getting started - Ant.

相关内容

  • 没有找到相关文章

最新更新