I am assuming that you have created one project containing the actual source code to be tested - assume it is called "MyProject" and you have created another test project that tests MyProject, that is named MyProjectTest.
Then, you have written jUnit tests using the inherent testing support framework with android. Now, you have run your unit tests and they run successfully in ecplise. You then, what to check on the code coverage of these unit tests. Here are the steps for the same:
- At the command prompt, change directory to the MyProject folder
- Rename the existing build.xml to build_orig.xml
- Run this command:
- Then change directory to cd ..\MyProjectTest
- Rename the existing build.xml to build_orig.xml
- Run this command:
- Then, run the command -
This should generate a html report of the coverage under MyProjectTest/coverage
Troubleshooting:
- Incase you get an error "remote object coverage.ec does not exist" then start adb shell in another command prompt - in order to give write permissions to the sdcard for writing the coverage.ec file
- Then, run the following command at the shell
- Then you should be able to generate the report.
Dear Mam
ReplyDeleteHow do i able to know android is installed in my system or not?
Any ans : please help me......
Thank you for the information you've share to us.
ReplyDeleteHello Mam,
ReplyDeleteHope you are fine.
I would like to tell you that your blogs are extremely helpful. I would learn more of android programming in the future from your blogs but before that I want to ask you, have you ever worked on getting android app to connect with AWS, Google app engine or any open source remote database in cloud? if so please share the link so that I can learn from it and start the app development with cloud connect.
Regards,
Rahul
Thanks for valuable information...
ReplyDeletethanks for the information about Android
ReplyDeleteI was happy to discover your blog today. I was unable to find a contact link. I hope it’s OK that I’m contacting you through a public comment. We’ve developed live wallpaper for Android called “Star Catcher Live Wallpaper” that lets you slide your finder through the stars on the sky!
ReplyDeleteI would appreciate your reviewing “Star Catcher Live Wallpaper” in your blog. You can learn more about the application at
https://play.google.com/store/apps/details?id=com.belonogov.starcatcherlivewallpaper
Please let me know if you are interested.
We need it!
Thank you very much!
Alexander Belonogov
From Under The Blanket
Email: fromundertheblanket@gmail.com
https://play.google.com/store/apps/details?id=com.belonogov.starcatcherlivewallpaper
Hi Mam,
ReplyDeleteThis is Kiran,
I am trying to get a third party API to access PC from android Table,
I spent much time on google and did't found any suitable API,
can you please suggest me the right API to access PC in android app
Thanks in advance
Hi Mam,
ReplyDeleteThis is Kiran,
I am trying to get a third party API to access PC from android Table,
I spent much time on google and did't found any suitable API,
can you please suggest me the right API to access PC in android app
Thanks in advance
Hiii Mam,
ReplyDeleteMyself Viraj Deshaval want to learn Android and want to make project based on android as my final year project. As, i am persuing B.E. in CSE i am in need of the company who is providing a training.
Eagerly waiting for your reply.
Hi Geetha,
ReplyDeleteMany thanks for sharing your knowledge. it help me a lot to learn android
Very helpful that is. I have been playing and trying to code some android apps and a few simple games.This will help me a lot.
ReplyDeleteI infer I haven't interpreted specified incomparable physical anywhere added online.
ReplyDeleteRoot ICS
This comment has been removed by the author.
ReplyDeleteRespected Mam,
ReplyDeleteI am Fresher and got a profile of android developer in my company
As the very first assignment i got the project to develop a voice mail
The requirement are
the ringing goes for 10 seconds and then our previously stored message
"Mr Xyz is currently unavailable leave the message after the beep" starts playing
and then the message by the caller (whatever he conveys) is to be saved on our device and that left message by the caller can be listened by the person afterwards as a voicemail, how to stop the ringing "tring tring" and start the our previously stored message coz ringing is coming from the n/w provider plz guide me on this
Hi sai,
ReplyDeleteI am try to create walkie talkie app using android but i could n't store the recorded file in sdcard and also i want to know the networking details that like how to send and receive the voice message between one mobile to another mobile process.
Thanks,
Tamilarasi.
hi sai,
ReplyDeleteplease reply as soon as possible because this is very urgent
Thanks,
Tamilarasi
Mam iwant code to display excelsheet in android can u please provide me as i want to develop an app regarding it.Please reply me as soon as possible
ReplyDeleteThanks,
Mahalakshmi
This comment has been removed by the author.
ReplyDeleteGreat resource. Thank you. This is indeed very helpful.
ReplyDeleteThe themes here are amazing. I would like to see an easier way to search with more relevant results. i.e. when I search autumn, I really don't want to find Assassins Creed or Warrior girl...just a pretty autumn seasonal theme for my background.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThank you for sharing this valuable informative article. I am sure that it will help me a lot to know a lot. Waiting to know more from you.
ReplyDeleteWow, that really distilled the important information in a great way. Saved me a lot of time!
ReplyDeleteGood post.
ReplyDeleteFor people starting the 'testing' now, I would also recommend trying out 'TestNG'. It is better than JUnit for Integration/ Module testing.
This comment has been removed by a blog administrator.
ReplyDeletenice posting ,,, this site help me so much to create a andriod program so it really great to read this blod thanks for sharing .........
ReplyDelete