Originally published on Android Essence.
Espresso is a testing framework for Android that allows developers to write automated tests for their app...
For further actions, you may consider blocking this person and/or reporting abuse
I'm implementing this currently in my own app, I was wondering if you have thought about creating an annotation processor to generate the Robots for you? I'm sort of tempted to create one if one doesn't already exist since this pattern is incredibly powerful and it seems like it'd be practical to automate a lot of the setup.
I'm not that familiar with annotation processors, but if you can find a way to pull it off I think it would be interesting. I'm not quite sure where you would put the annotations and what the usage would look like?
This is a nice illustration of getting started with the robot pattern. I'm curious, is it a testing approach that was invented by Google, or some other company?
Thanks for reaching out! I do not believe the pattern was invented by Google, but I'm unsure of its origins.
Thanks a lot for this post! I've been interested in adding test to my personal projects and this looks awesome.
Would give an extra ♥️ just because of Kotlin 👌
I'm glad you liked it! I hope the sample application helps you. Reach out if you have any trouble getting started with Espresso.