目錄(99章)
倒序
- coverpage
- Learning Android Application Testing
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Getting Started with Testing
- Why what how and when to test?
- Types of tests
- Java testing framework
- Android testing framework
- Creating the Android project
- Summary
- Chapter 2. Understanding Testing with the Android SDK
- The demonstration application
- Assertions in depth
- View assertions
- Even more assertions
- The TouchUtils class
- Mock objects
- The TestCase base class
- The AndroidTestCase base class
- Instrumentation
- The InstrumentationTestCase class
- The ActivityTestCase class
- The ActivityInstrumentationTestCase2 class
- The ProviderTestCase2<T> class
- The ServiceTestCase<T>
- The TestSuiteBuilder.FailedToCreateTests class
- Using libraries in test projects
- Summary
- Chapter 3. Baking with Testing Recipes
- Android unit tests
- Testing activities and applications
- Testing files databases and content providers
- Testing exceptions
- Testing local and remote services
- Extensive use of mock objects
- Testing views in isolation
- Testing parsers
- The parser test
- Testing for memory usage
- Testing with Espresso
- Summary
- Chapter 4. Managing Your Android Testing Environment
- Creating Android Virtual Devices
- Running AVDs from the command line
- Additional emulator configurations
- Speeding up your AVD with HAXM
- Alternatives to the AVD
- Running monkey
- Test scripting with monkeyrunner
- Summary
- Chapter 5. Discovering Continuous Integration
- Building Android applications manually using Gradle
- Git – the fast version control system
- Continuous integration with Jenkins
- Summary
- Chapter 6. Practicing Test-driven Development
- Getting started with TDD
- Creating a sample project – the temperature converter
- Creating a Java module
- Creating the TemperatureConverterActivityTests class
- Adding functionality
- Viewing our final application
- Summary
- Chapter 7. Behavior-driven Development
- Given When and Then
- FitNesse
- GivWenZen
- Summary
- Chapter 8. Testing and Profiling Performance
- Ye Olde Logge method
- Timing logger
- Performance tests in Android SDK
- Using the Traceview and dmtracedump platform tools
- Dmtracedump
- Microbenchmarks
- Summary
- Chapter 9. Alternative Testing Tactics
- Code coverage
- Temperature converter code coverage
- Introducing Robotium
- Testing on the host's JVM
- Introducing Robolectric
- Google's march on shadows
- Introducing Fest
- Introducing Spoon
- Introducing Fork
- Summary
- Index 更新時間:2021-07-23 19:59:11
推薦閱讀
- 極簡算法史:從數學到機器的故事
- 從零開始:數字圖像處理的編程基礎與應用
- 自己動手實現Lua:虛擬機、編譯器和標準庫
- 我的第一本算法書
- 數據結構(Java語言描述)
- Java Web應用開發技術與案例教程(第2版)
- 差分進化算法及其高維多目標優化應用
- Full-Stack React Projects
- Visual C++應用開發
- JavaScript 程序設計案例教程
- Learning Apache Mahout Classification
- Salesforce Reporting and Dashboards
- Unity 2018 Augmented Reality Projects
- 區塊鏈國產化實踐指南:基于Fabric 2.0
- 視窗軟件設計和開發自動化:可視化D++語言
- FusionCharts Beginner’s Guide:The Official Guide for FusionCharts Suite
- 零基礎學Java(第5版)
- Learning Yeoman
- Learning RxJava
- Java Web程序員面試筆試寶典
- Odoo Development Essentials
- Learning Unity iOS Game Development
- Mastering Prezi for Business Presentations(Second Edition)
- Ember.js Cookbook
- Learning SAP BusinessObjects Dashboards
- 深入淺出:.NET框架設計與實現
- 一步一步跟我學Scratch 3.0編程
- Unity Game Optimization
- 從零開始:PHP網頁開發基礎
- 并發模式與應用實踐