Is it possible to do automated testing after building an .apk in Unity?
I’ve tried several apps (Ranorex for example).
But the problem is they don’t seem to recognise Unity objects.
I’ve also tried Testdroid, but it seems like the it doesn’t run trough the entire app (for the same reason?).
The thing is I want to test my built application on different devices.
Its possible to do this with the google play store, before uploading your app (but this doesn’t work for unity built apps).
It would depend very heavily on the nature of your project and how you structured the code, but in general it seems to be pretty difficult. (I don’t do mobile so I can’t really comment on Android specifically.) Unity has blogged a little on how they do things in-house – it’s complicated.
I know that the thread is necroed but as nobody has mentioned it, I’d suggest to look into Unity Test Runner.
Even though it doesn’t have too many features yet, it’s quite functional already and supports command line invocation too. So, it should be sufficient for writing unit tests as well as simple integration tests.