I have an Android Test Application in which I run several tests.
I use various assert calls such as assertEquals, assertTrue, assertNull and so on. When such an assert fails, I wish to save the stack trace to a file on the device. Does such a thing already exist or do you have any tips on how I could implement it?
I have an Android Test Application in which I run several tests. I use
Share
You can just catch
AssertionErrorOr more advanced you can use acra and implement your own
ReportSender.