Android Espresso Revealed
Apress (Verlag)
978-1-4842-4314-5 (ISBN)
Android Espresso Revealed explains the basics of using Espresso to write automated UI tests, and how to customize the framework for advanced functionality. The author provides examples in both Java and Kotlin, and includes dealing with network operations in UI tests, testing application accessibility, implementing supervised monkey tests, and more.
What You Will Learn
Write Espresso tests with both Kotlin and Java including test project migration from Java to Kotlin
Test web views inside the application undertest
Use Espresso to set up test devices or emulators to minimize test flakiness and run tests in Firebase Test Lab
Verify and stub intents with Espresso-Intents
Move test projects to AndroidX
Test notifications or operate on third-party apps during Espresso test execution
Apply different test architecture approaches to the test project to reduce maintenance effort
Implement supervised monkey tests using Espresso and UIAutomator
Who This Book Is ForEngineers with experience of Android test automation will benefit from this book
Denys Zelenchuk's professional career as Test Engineer started in Poland in 2010. Starting from 2011, he has been involved in testing mobile applications. He was working at companies like Tieto Poland, XING (Hamburg, Germany) and currently is working and living in Zurich Switzerland in Numbrs Personal Finance AG company. As of October 2013, he's been using Espresso for Android test automation framework to write automated tests.
1. Getting started with Espresso for Android.- 2. Customizing Espresso for Our Needs.- 3. Writing Espresso Tests with Kotlin.- 4. Handling network operations or long-lasting actions.- 5. Verifying and stubbing intents with IntentMatchers.- 6. Testing web views.- 7. Accessibility testing.- 8. Espresso and UIAutomator.- 9. Dealing with runtime system actions and permissions.- 10. Test automation tooling.- 11. Screen Object Design Pattern in Android UI tests.- 12. Testing Robot Patterns with Espresso and Kotlin.- 13. Supervised Monkey Tests with Espresso and UI Automator.- 14. AndroidX Test Library.- 15. Improving Productivity and Testing Unusual Components.
Erscheinungsdatum | 18.03.2019 |
---|---|
Zusatzinfo | 99 Illustrations, black and white; XVII, 308 p. 99 illus. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 178 x 254 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Netzwerke |
Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge | |
Informatik ► Software Entwicklung ► Mobile- / App-Entwicklung | |
Informatik ► Theorie / Studium ► Compilerbau | |
Schlagworte | Android • Code • Coding • Espresso • Google • Mobile • programming • source • Tests • UI • UX • Writing |
ISBN-10 | 1-4842-4314-5 / 1484243145 |
ISBN-13 | 978-1-4842-4314-5 / 9781484243145 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich