Cargando…

Learning Android Application Testing.

This book is a practical introduction to readily available techniques, frameworks, and tools to thoroughly test your Android applications and improve project development. You will learn the Java testing framework, how to create a test case and debug it. Next, you'll be walked through using the...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Blundell, Paul
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Packt Publishing, 2015.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000Ma 4500
001 EBOOKCENTRAL_ocn906137428
003 OCoLC
005 20240329122006.0
006 m o d
007 cr |n|||||||||
008 150403s2015 xx o 000 0 eng d
040 |a IDEBK  |b eng  |e pn  |c IDEBK  |d EBLCP  |d OCLCQ  |d DEBBG  |d NLE  |d OCLCO  |d OCLCF  |d OCLCQ  |d FEM  |d IDB  |d ZCU  |d XFH  |d OCLCQ  |d MERUC  |d OCLCQ  |d OCLCO  |d ICG  |d OCLCQ  |d DKC  |d OCLCQ  |d OCLCO  |d UKAHL  |d UKMGB  |d OCLCQ  |d OCLCO  |d OCLCQ  |d OCLCO  |d OCLCL 
015 |a GBB549571  |2 bnb 
016 7 |a 017158386  |2 Uk 
019 |a 968041869  |a 969020015  |a 994509537 
020 |a 1336281391  |q (ebk) 
020 |a 9781336281394  |q (ebk) 
020 |a 9781784397999 
020 |a 1784397997 
020 |a 1784395331 
020 |a 9781784395339 
029 1 |a DEBBG  |b BV043619737 
029 1 |a UKMGB  |b 017158386 
029 1 |a AU@  |b 000067092570 
029 1 |a AU@  |b 000058606938 
035 |a (OCoLC)906137428  |z (OCoLC)968041869  |z (OCoLC)969020015  |z (OCoLC)994509537 
037 |a 759425  |b MIL 
050 4 |a T55.4-60.8 
082 0 4 |a 005.432 
049 |a UAMI 
100 1 |a Blundell, Paul. 
245 1 0 |a Learning Android Application Testing. 
260 |b Packt Publishing,  |c 2015. 
300 |a 1 online resource 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
347 |a text file  |2 rda 
588 0 |a Print version record. 
520 |a This book is a practical introduction to readily available techniques, frameworks, and tools to thoroughly test your Android applications and improve project development. You will learn the Java testing framework, how to create a test case and debug it. Next, you'll be walked through using the Android SDK to test using the ActivityTestCase and ActivityUnitTest classes as well as discussing popular testing libraries. Through examples you will test files, databases, ContentProviders, exceptions, services, and test your app using Espresso. You will discover how to manage your Android testing environment using Android emulators, deep dive into how adb and the emulator can super charge your testing automation, and also test user interactions with monkeyrunner. You will be guided through different testing methodologies including Test-driven Development and Behavior-driven Development and will learn how to perform Unit and Functional testing applying them to your Android projects. You will also use continuous integration techniques for ultimate application quality control using Gradle and Jenkins. By the end of the book, you'll be looking through alternative testing tactics including Fest and Spoon to build upon and expand your Android testing range and finesse. 
505 0 |a 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 
505 8 |a Test case scenarioPerformance 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 
505 8 |a Running a specific test by nameRunning 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 
505 8 |a The default constructorThe 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 
505 8 |a The runTestOnUiThread helper methodThe 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 
546 |a English. 
590 |a ProQuest Ebook Central  |b Ebook Central Academic Complete 
630 0 0 |a Android (Electronic resource) 
630 0 7 |a Android (Electronic resource)  |2 fast 
650 0 |a Application software  |x Development. 
650 0 |a Mobile computing. 
650 6 |a Logiciels d'application  |x Développement. 
650 6 |a Informatique mobile. 
650 7 |a Application software  |x Development  |2 fast 
650 7 |a Mobile computing  |2 fast 
758 |i has work:  |a Learning Android application testing (Text)  |1 https://id.oclc.org/worldcat/entity/E39PCFHdJWHcRyQDXrdTvJY8bq  |4 https://id.oclc.org/worldcat/ontology/hasWork 
776 0 8 |i Erscheint auch als:  |n Druck-Ausgabe  |t Blundell, Paul. Learning Android Application Testing 
856 4 0 |u https://ebookcentral.uam.elogim.com/lib/uam-ebooks/detail.action?docID=2000936  |z Texto completo 
938 |a Askews and Holts Library Services  |b ASKH  |n AH28400357 
938 |a EBL - Ebook Library  |b EBLB  |n EBL2000936 
938 |a ProQuest MyiLibrary Digital eBook Collection  |b IDEB  |n cis31267674 
994 |a 92  |b IZTAP