Sign in Go Pro

Robot Testing Pattern

Robot Testing Pattern - Overview



The Robot Testing Pattern is a UI testing architecture that can be used to write readable, and maintainable Espresso tests on Android. Each robot you create will handle a specific screen of your application and abstract away WHAT is being tested from HOW it's being tested. It is important to create this separation of concerns in your tests to avoid duplicated code that is hard to maintain. We'll use a shopping application example to explain this pattern, and how to write testing robots. **Links:** * [Jake Wharton's presentation on Test Instrumentation Robots]( * [Martin Fowler's blog post on Page Objects]( * [Espresso Training Documentation](

Lessons in Robot Testing Pattern