Friday, August 26, 2011

Android Application Testing Guide: Q&A

Q:I followed your example. I set up the test project in a similar way.
But try to write a TestCase for the utility class from the original
Eclipse says "Class under test does not exist in the current project."

It's kind of reasonable to me, since that class is indeed in another
I only have experienced using JUnit to test normal Java Project where
the test directory is inside the project.

Also, I checked out the two example projects and found there is a and build.xml. Is that the reason that you can import
the original class:


Best wishes,
Posted by Ryan Huang.

A:If you have imported both projects (main & test) into Eclipse you should have no problems because the versions available at github have the required properties set.
However, if for some reason they were not set properly, this is what you should verify in your test project's Java Build Path -> Libraries

The other files you mentioned are used when you build with ant.


seo-services said...

thanks for this reading for android apps . android have very good mobile application features.

android apps
seo services

2009 DREAM said...

I continuously livelihood on upcoming to your parcel again retributory in containerful you have posted new list.
I'm planar by your table make up the superior production.