【发布时间】:2012-04-18 10:01:50
【问题描述】:
我正在使用 IntelliJ 和 Maven 开发一个 Android 应用程序,并且我正在尝试使用由 maven 原型自动创建的测试模块运行单元测试。但是,每当我尝试运行测试模块时,我都会收到以下消息:
Running tests
Test running startedFinish
Empty test suite.
我必须在某处注册测试吗?
【问题讨论】:
-
检查测试运行配置是否正确设置:jetbrains.com/idea/webhelp/run-debug-configuration-junit.html.
-
你的测试在哪里?
-
我在运行 android 测试时遇到了几乎相同的问题,我有 7 个测试类,即使我的设置正确,它也只会运行和测试七个测试类中的一个。
标签: android maven-2 intellij-idea