开发者

Android: Is there any naming rule for test cases

I found really weird stuff when I was building my test project.

I subclassed my own test from AndroidTestCase, and implemented several test cases inside. Some cases didn't run at 开发者_如何学运维first, however, there was no exceptions. After I just changed the name of these cases, they got invoked by test runner and all passed.

I've no idea if there's any naming convention.


These are the tests naming conventions in Android: https://source.android.com/setup/contribute/code-style#javatests-style-rules

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜