Learning android application testing improve your Android applications through intensive testing and debugging

If you are an Android developer looking to test your applications or optimize your application development process, then this book is for you. No previous experience in application testing is required.

Bibliographic Details
Other Authors: Blundell, Paul, author (author), Milano, Diego Torres, author
Format: eBook
Language:Inglés
Published: Birmingham, England : Packt Publishing 2015.
Edition:Second edition
Series:Community experience distilled.
Subjects:
See on Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629835506719
Table of Contents:
  • ""Cover ""; ""Copyright""; ""Credits""; ""About the Authors""; ""About the Reviewers""; ""www.PacktPub.com""; ""Table of Contents""; ""Preface""; ""Chapter 1: Getting Started with Testing""; ""Why, what, how, and when to test""; ""What to test""; ""Activity life cycle events""; ""Database and file system operations""; ""Physical characteristics of the device""; ""Types of tests""; ""Unit tests""; ""The setUp() method""; ""The tearDown() method""; ""Outside the test method""; ""Inside the test method""; ""Integration tests""; ""UI tests""; ""Functional or acceptance tests""
  • ""Test case scenario""""Performance tests""; ""System tests""; ""Android Studio and other IDE support""; ""Java testing framework""; ""Android testing framework""; ""Instrumentation""; ""Gradle""; ""Test targets""; ""Creating the Android project""; ""Package explorer""; ""Creating a test case""; ""Test annotations""; ""Running the tests""; ""Running all tests from Android Studio""; ""Running a single test case from your IDE""; ""Running from the emulator""; ""Running tests from the command line""; ""Running all tests""; ""Running tests from a specific test case""
  • ""Running a specific test by name""""Running specific tests by category""; ""Running tests using Gradle""; ""Debugging tests""; ""Other command-line options""; ""Summary""; ""Chapter 2: Understanding testing with the Android SDK""; ""The demonstration application""; ""Assertions in depth""; ""Custom message""; ""Static imports""; ""View assertions""; ""Even more assertions""; ""The TouchUtils class""; ""Mock objects""; ""MockContext overview""; ""The IsolatedContext class""; ""Alternate route to file and database operations""; ""The MockContentResolver class""; ""The TestCase base class""
  • ""The default constructor""""The given name constructor""; ""The setName() method""; ""The AndroidTestCase base class""; ""The assertActivityRequiresPermission() method""; ""Description""; ""Example""; ""The assertReadingContentUriRequiresPermission method""; ""Description""; ""Example""; ""The assertWritingContentUriRequiresPermission() method""; ""Description""; ""Example""; ""Instrumentation""; ""The ActivityMonitor inner class""; ""Example""; ""The InstrumentationTestCase class""; ""The launchActivity and launchActivityWithIntent method""; ""The sendKeys and sendRepeatedKeys methods""
  • ""The runTestOnUiThread helper method""""The ActivityTestCase class""; ""The scrubClass method""; ""The ActivityInstrumentationTestCase2 class""; ""The constructor""; ""The setUp method""; ""The tearDown method""; ""The ProviderTestCase2 class""; ""The constructor""; ""Example""; ""The ServiceTestCase""; ""The constructor""; ""The TestSuiteBuilder.FailedToCreateTests class""; ""Using libraries in test projects""; ""Summary""; ""Chapter 3: Baking with Testing Recipes""; ""Android unit tests""; ""Testing activities and applications""; ""Mocking applications and preferences""
  • ""The RenamingMockContext class""