{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

Android 应用测试指南

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

Android 应用测试指南

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

来自Android测试专家的著作
通过缜密的测试打造零Bug 的Android应用
应用测试技术改善 Android 应用程序开发工具
了解功能测试和性能测试的差别,并把其技术应用到Android项目中
许多测试用例可以随时应用到你的Android项目中
了解测试驱动开发和行为驱动开发的不同
通过测试如Activity、ContentProvider、Service等组件来完善你的Android应用
应用持续集成技术来保证你的Android应用质量
通过分析返回的性能测试结果来盖上应用的性能
使用 EMMA代码覆盖率分析您的代码中有多少被测试
学会用Robotium 和 Robolectric进行程序测试
Content Description

《Android应用测试指南》是仅有的一本移动测试实用工具书。本书针对当下流行的技术、框架和工程质量改进工具进行介绍,一步一步清晰地指导大家如何去写应用程序的测试用例,利用各种测试手段来保证Android项目质量。
本书首先介绍了TTD(Android测试驱动开发)。TTD是软件开发过程中一个敏捷模式,能让你在早期发现Bug。书中给出一些样例工程来示范测试,从简单的单元测试到复杂的性能测试。另外,本书以诊断的方式来详细描述Android测试中广泛、流行的应用技术。对于梦想在Android测试领域启航的程序员和测试人员来说这无疑是一本非常珍贵、有用的参考书。
本书适合测试人员、测试开发人员、测试经理、移动开发人员阅读,也适合大专院校相关专业师生的学习用书和培训学校的教材。
Author Description

翻译者李江,硕士,知名互联网企业测试专家。在51testing电子杂志发表《基于数据库的异常数据监控系统》、《数据库diff的脚本实现与应用》、《基于Selenium 的web自动化框架的思考》、《基于用户行为的生成自动化测试用例方案》等文章。
Catalogue

第1章 测试入门 1
1.1 简史 1
1.2 软件Bug 2
1.3 为什么要测试、测什么、如何测、何时测试 2
1.3.1 测试的内容是什么呢 4
1.3.2 Activity生命周期中的事件 4
1.3.3 数据库和文件系统的操作 4
1.3.4 设备的物理特征 5
1.4 测试的种类 5
1.4.1 单元测试 5
1.4.2 集成测试 10
1.4.3 功能或者验收测试 11
1.4.4 性能测试 12
1.4.5 系统测试 13
1.5 Android测试框架 13
1.5.1 模拟器 13
1.5.2 测试对象 15
1.6 小结 15
第2章 Android软件测试 16
2.1 Junit 16
2.2 创建一个Android主项目 17
2.3 创建一个Android测试项目 18
2.4 包浏览器 19
2.5 创建一个测试用例 19
2.5.1 特殊的方法 22
2.5.2 测试注释 23
2.6 测试执行 24
2.6.1 在Eclipse里执行所有的测试用例 24
2.6.2 执行单个测试用例 25
2.6.3 在模拟器里执行用例 25
2.6.4 用命令行来执行测试用例 27
2.6.5 执行所有测试用例 27
2.6.6 执行一个特殊测试用例文件中的所有用例 28
2.6.7 通过用例名称来执行用例 28
2.6.8 按用例分类来执行用例 29
2.6.9 创建个性化标签 29
2.6.10 执行性能测试 30
2.6.11 空载测试 30
2.7 调试用例 31
2.8 其他命令行选择 32
2.9 小结 32
第3章 用Android SDK构建模块 34
3.1 工程演示 34
3.2 深度断言 35
3.3 个性化异常信息 36
3.4 静态输入 37
3.5 视图断言 37
3.6 更多的断言 39
3.7 TouchUtil类 40
3.8 Mock对象 41
3.8.1 MockContext概览 42
3.8.2 IsolatedContext类 43
3.8.3 选择文件和数据库操作 43
3.8.4 MockContentResolver类 43
3.9 测试用例基类 44
3.9.1 不带参数的构造函数 44
3.9.2 带名字的构造函数 45
3.10 AndriodTestCase基类 45
3.11 设备 48
3.12 ActivityMonitor 内联类 48
3.13 InstrumentationTestCase类 49
3.14 ActivityTestCase类 53
3.15 scrubClass方法 54
3.16 ActivityInstrumentationTestCase2类 54
3.17 ProviderTestCase2类 56
3.18 ServiceTestCase 58
3.19 TestSuiteBuilder.FailedToCreateTests类 59
3.20 在测试工程中引入外部包 59
3.21 小结 62
第4章 测试驱动开发 63
4.1 TDD测试驱动开发入门 63
4.1.1 编写一个测试用例 64
4.1.2 执行所有的测试用例 64
4.1.3 调整代码 65
4.1.4 优势在哪里 65
4.1.5 理解需求 65
4.2 新建一个样本工程——温度换算器 66
4.3 新建一个温度转换器对应的测试工程 68
4.3.1 新建模板测试用例 71
4.3.2 准备条件的测试 71
4.3.3 新建用户交互 72
4.3.4 测试用户交互的部件是否都存在 72
4.3.5 定义ID 73
4.3.6 将需求转换成测试用例 74
4.3.7 屏幕布局 78
4.4 温度转换器中添加功能 78
4.4.1 温度转换 78
4.4.2 EditNumber类 79
4.4.3 TemperatureConverter类的单元测试 83
4.4.4 EditNumber测试 86
4.4.5 TemperatureChangeWatcher类 91
4.4.6 对TemperatureConverter进行更详细的测试 94
4.4.7 对InputFilter进行测试 96
4.5 看看我们最后的应用成果 97
4.6 小结 98
第5章 Android测试环境 99
5.1 新建Android虚拟设备 99
5.2 用命令行来启动虚拟设备 101
5.2.1 Headless模拟器 102
5.2.2 禁用锁屏功能 103
5.2.3 清理 104
5.2.4 终止模拟器 104
5.3 附加的模拟器设置 104
5.3.1 模拟网络设置 105
5.3.2 QeMu仿真器附加设置 107
5.3.3 启动Monkey 109
5.3.4 CS客户端服务端Mokey 109
5.3.5 用Monkey来测试脚本 111
5.4 获得测试截屏 112
5.5 录制和回放 113
5.6 小结 114
第6章 行为驱动开发 115
6.1 行为驱动开发历史简介 115
6.2 假设,当,那么 116
6.3 FitNesse工具 116
6.4 命令行运行FitNesse 116
6.5 创建一个温度转换器测试的wiki目录 117
6.6 在子wiki中添加子页面 118
6.7 添加验收测试套件 120
6.8 添加测试需要的工具支持类 120
6.9 GivWenZen框架 123
6.10 创建测试场景 124
6.11 小结 129
第7章 测试方案 130
7.1 Android单元测试 130
7.2 测试行为和应用 132
7.2.1 应用和引用 132
7.2.2 测试活动 137
7.3 测试文件,数据库以及内容存储服务 142
7.4 测试异常 150
7.5 测试本地和远程服务 151
7.6 Mock对象的用途拓展 155
7.6.1 导入相关的lib 156
7.6.2 文本框联动变化的测试 157
7.6.3 Hamcrest库介绍 160
7.7 对视图进行独立测试 163
7.8 对转化器的测试 166
7.8.1 Android资源 166
7.8.2 行为转换 167
7.8.3 针对转化的测试 168
7.9 对内存泄露的测试 169
7.10 小结 171
第8章 持续集成 172
8.1 用ant手工编译Android应用 173
8.2 Git-快速版本控制系统 176
8.3 用Hudson持续集成 178
8.3.1 安装、设置hudson 178
8.3.2 新建hudson任务 179
8.4 获得Android测试结果 182
8.5 小结 191
第9章 性能和压力测试 192
9.1 叶奥尔德记时法 192
9.2 AndroidSDK性能测试 194
9.2.1 启动性能测试 194
9.2.2 新建TemperatureConverterActivityLaunchPerformance类 195
9.2.3 执行测试用例 196
9.2.4 TraceView和DmtraceduMP平台工具的使用 199
9.3 微观标准检测 201
9.4 小结 206
第10章 其他测试策略 208
10.1 从源代码编译Android应用 208
10.1.1 代码覆盖率 209
10.1.2 对系统的要求 210
10.2 下载Android源代码 210
10.2.1 安装repo 211
10.2.2 新建一个工作目录 211
10.2.3 编译步骤 212
10.3 TemperatureConveter代码覆盖率 214
10.3.1 生成代码覆盖率分析报告 216
10.3.2 实例恢复的覆盖状态 220
10.3.3 覆盖异常情况 222
10.3.4 绕过访问限制 223
10.3.5 覆盖可选菜单的测试 224
10.4 没有归档的ant覆盖率目标 225
10.5 Robotium介绍 226
10.5.1 下载Robotium 226
10.5.2 工程设置 227
10.5.3 新建测试用例 227
10.5.4 testFahrenheitToCelsiusConversion()测试 227
10.5.5 再访testOnCreateOptionsMenu() 229
10.6 在主机JVM上测试 230
10.6.1 新建一个TemperatureConverterJVMTest工程 231
10.6.2 对比一下获得的性能 235
10.6.3 将Android加入到蓝图中 236
10.7 Robolectric介绍 237
10.7.1 安装Robolectric 237
10.7.2 新建一个JAVA工程 238
10.7.3 编写一些测试用例 238
10.8 小结 241
参考文献 242

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book