Testing Tip 102

Posted: February 15, 2010 in Android
Tags:

If you have not done already move all your trace files and hprof dump file programming commands to your testcases class. why?

1. Because its called in your Testcase you no longer have to comment it out to publish your application.

2. You can implement a special ant task that triggers or runs that TestCase and dumps the trace and hprof files in your coverage or performance folder for viewing and analysis.

3. If you cannot find the memory miss-use you would be attempting some heavy Monkey UI test runs with -hprof enabled anyway thus there really i snot another case where you would actually need full hprof on the entire application and all its functions.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s