开发者

In Eclipse+Android, what is the difference between a Project and a "Test Project"?

开发者 https://www.devze.com 2023-02-01 22:38 出处:网络
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 \"Ne

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.

0

精彩评论

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