android平台的单元测试

发布于 2024-09-09 10:46:16 字数 189 浏览 3 评论 0原文

所以,我终于能够构建和调试android平台了(这个过程可以在这里看到)。现在的问题是:单元测试在哪里,如何启动它们以及在哪里可以看到结果?

另外,有没有关于android平台架构的指南?

So, I was finally able to build and debug the android platform (the process can be seen here). Now, the question is: where are the unit tests, how do I launch them and where do I see results?

And also, is there any guide to android platform architecture?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱冒险 2024-09-16 10:46:16

我想没有办法在 Android src 上运行每个单元测试。

我不知道 C 代码,但你可以在一些包含 Android 应用程序的 git 存储库中看到它,例如 Contacts 他们有一个测试文件夹,这是一个 android 测试项目。您可以在此处查看如何运行它们。

I guess there is no way to run every unit test on Android src.

I don't know about the C code, but you can see that inside some git repos holding Android apps like Contacts they have a tests folder which is an android test project. You can check how to run them here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文