如何在 Eclipse 中从多个项目运行 Android JUnit 测试?
我想知道如何同时从 eclipse 运行包含 Android JUnit Robotium 测试的多个项目... 我希望有人能提供帮助。
多谢!
I'm wondering how to run multiple projects containing Android JUnit Robotium test from eclipse at once...
I hope someone could help.
Thanks a lot!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

发布评论
评论(2)
染年凉城似染瑾2024-12-13 06:12:53
您可以使用开源 Classpath Suite 跨多个项目运行 JUnit 测试。
创建一个 Eclipse 项目,其中包含对所有要测试的项目的依赖项。
编写套件:
@RunWith(ClasspathSuite.class)
public class MySuite
看看这篇文章: Roger Rabbit - 跨多个项目的 JUnit 测试运行器,它包括分步示例和代码示例。
~没有更多了~
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我也陷入了类似的境地。我使用命令行来运行我的测试。您可以使用以下命令
对于单个测试
对于所有测试
希望它有所帮助。
I was caught up in the similar situation. I used command line to run my test. You can use the following commands
For a single Test
For all your Tests
Hope it helps.