目錄(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
推薦閱讀
- Spring 5.0 Microservices(Second Edition)
- Mastering AWS Lambda
- Git Version Control Cookbook
- LabVIEW Graphical Programming Cookbook
- Building a Game with Unity and Blender
- AngularJS深度剖析與最佳實踐
- Learn Swift by Building Applications
- 游戲程序設計教程
- C語言程序設計
- JSP開發案例教程
- 軟件項目管理實用教程
- 網站構建技術
- UML 基礎與 Rose 建模案例(第3版)
- Swift Playgrounds少兒趣編程
- Java SE實踐教程
- INSTANT Adobe Edge Inspect Starter
- Learning Node.js for .NET Developers
- Unity Android Game Development by Example Beginner's Guide
- Getting Started with Web Components
- Koa與Node.js開發實戰
- Eclipse開發(學習筆記)
- 大象:Thinking in UML(第二版)
- 匯編語言程序設計教程
- Java無難事:詳解Java編程核心思想與技術(第2版)
- 零基礎學C++
- Heroku Cookbook
- Drupal 7 Media
- Mastering Linux Shell Scripting
- Clojure Data Analysis Cookbook(Second Edition)
- Lua Game Development Cookbook