即使 Cedric Beust 创建了 TestNg 并且是 Android 团队的一员,为什么 Android 使用 JUnit 而不是 TestNG?
只是好奇......
Cedric Beust 创建了TestNG,我从一篇采访中了解到,我是 Android 团队的一员。 为什么他们选择使用 JUnit 作为 Android Eclipse Tools 的测试基础设施?
TestNG 不是应该比 JUnit 更好吗?
Just curious about it...
Cedric Beust created TestNG and I understand from an interview I read was part of the Android team.
Why did they chose to use JUnit as the testing infrastructure for Android Eclipse Tools?
Isn't TestNG supposed to a better than JUnit?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
实际上,我选择 JUnit 而不是 TestNG 来进行 Android 测试,我认为它比 TestNG 更轻量级,适合设备上的测试。那是在 2007 年,我不确定今天是否会做出同样的选择。
I actually picked JUnit over TestNG for Android testing, I thought it was more lightweight than TestNG for on-device testing. That was in 2007, I'm not sure I would make that same choice today.
这可能无法回答(至少用代码)
可能在创建 TestNG 时已经有许多 JUnit 测试准备好了......谁知道......
让我们直接向 Cedric 询问:) :)
This might be impossible to answer ( at least with code )
Probably by the time TestNG was created there were a number of JUnit test aready.... who knows...
Let's ask it to Cedric directly :) :)