I copied th开发者_如何学Goe ApiDemos sample to my workspace, then tried creating a new project out of it. The New Android Project wizard page is obvious but then the wizard led me to a page named "New Android Test Project", which creates a new "Android Test Project resource".
What is that "test resource" and where I can learn more about it?
A test project allows you to test your app using JUnit; it's not too complete as one would expect but works fine. Take a look at this article: Hello, Testing. There are projects which also allow you to test your Android apps, and which have more features. For instance, take a look at the Robolectric project.
加载中,请稍侯......
精彩评论