Android Application Testing Guide

所需积分/C币:34 2014-07-09 13:10:01 7.17MB PDF
收藏 收藏

Android Application Testing Guide英文版,本书主旨讲述如何Build intensively tested and bug free Android applications,推荐下载
Android application Testing Guide Copyright@ 2011 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews rt has been made in the preparation of this book to ensure the accuracy of the information presented However the information contained in this book is sold without warranty, cither express or implied. Neither the author nor Pacl Publishing and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals However, Packt Publishing cannot guarantee the accuracy of this information First published June 2011 Production reference: 1170611 Published by Packt Publishing ltd 32 Lincoln road Olto Birmingham b27 6PA, UK ISBN978-1-849513-50-0 Cover Image by Asher Wishkerman(a wishkermanompic de) Credits Author Project Coordinator Diego Torres Milano Joel Goveya Reviewers Proofreaders Paul bourdeaux Aaron nash Noah eltzroth Stephen Silk Tomas malmsten Gabor paller Hemangini Bari Abhinav Tyagi Graphic Acquisition Editor Nilesh mohite Tarun Singh Production coordinator Development Editor Kruthika banger Chris Rodrigues Cover work Technical editor Kruthika Banger Conrad sardinha About the author Diego Torres Milano has been involved with the Android platform since its inception, at the end of 2007, when he started exploring and researching the platform possibilities, mainly in the areas of User Interfaces, Unit and Acceptance Tests, and Test Driven development This is reflected by a number of articles mainly published in his personal blog conferences and courses like Mobile Dev Camp 2008 in Amsterdam(Netherlands) and Japan Linux symposium 2009(Tokyo), Droidcon London 2009, Skillsmatter 2009 London, UK), and he has also authored Android training courses delivered to various companies in Europe Previously, he was the founder and developer of several Open Source projects, mainly CUlt Universal Linux Thin Project (cult-thinclient sf. net)and the very successful PXES Universal Linux Thin Client project(that was later acquired for thin clients used by hundreds of thousands of thin clients all over the world. This project has a popularity peak of 35M hits and 400K downloads from Source forge in 2005. This project had a dual impact: big companies in europe decided to use it because of improved security and efficiency organizations institutions and schools in some developing countries in South America, Africa, and Asia decided to use it because of the minimal hardware requirements to have a huge social impact providing computers, sometimes recycled ones, to everyone Among the other open source projects that he has founded we can mention Autoglade, Gnome-tla, JGlade, and he has been contributing to various linux distributions such as redhat, fedora, and ubuntu He also has been giving presentations in Linux World, linuxTag GUadec es University of Buenos Aires and so on He has been developing software participating in Open Source projects, and advising companies worldwide for more than 15 years Firstly, I would like to thank my family: Laura, Augusto and Octavio for their patience and consideration the time i borrowed to achieve this goal was mostly th eirs Secondly i would like to thank m lend and in3 Integracion Informatica co-founder caludio palonsky with whom we started this amazing adventure more than 15 years ago when we pioneered the provision of Linux services and support to enterprises in South America. He certainly taught me to be a bit more consultant and a bit less hacker(but I'm a very bad student - )) And special thanks to Ricston's Peter Delia with whom we started providing Android training services throughout europe as early as mid 2008 when android was just a beautiful dream of having a mainstream Open Source operating system in the mobile arena. This is now a reality dictated by the market And lastly i would like to thank all the reviewers and the packt Publishing team who gave me their opinion, suggestions, and corrections on early manuscripts; without them the book would never have had the quality it endowed About the reviewers Paul bourdeaux is the Senior Software Engineer and Application Development Team Lead at Sundog, a marketing and technology company based in the midwest He has a strong background in traditional software engineering, has authored several white papers relating to mobile marketing and software engineering, and has presented at both national and regional software engineering conferences. Paul is the mobile marketing expert at Sundog, and his passion lies in mobile and cloud based software engineering Noah eltzroth teaches dynamic web development at the sullivan college of Technology and Design in Louisville, Kentucky. He enjoys working on a variety of different software projects including business-oriented portals, data processing, and Android applications. In his free time, Noah enjoys programming in both Java and PHP Tomas Malmsten has been working with software development for over a decade. During this time he has had the opportunity to work with a vast variety of technologies in various different business settings. His main focus has been the Java ecosystem where he has worked with everything from large enterprise systems to Android application development Tomas is a passionate software craftsman who strives for excellence in all aspects of programming From customer service and interaction to well crafted maintainable programs You can get in touch with Tomas through any of the following means .Blog Twitter E-mail: publicatomasmalmsten com .Linkedinhttp://se.linkedincom/in/tomasmalmsten Gabor paller received his MSc and PhD degrees from the Technical University of Budapest in 1992 and 1996, respectively. Dr Paller joined Nokia in 1998 and held positions in Nokia r&d and nokia research Center. His interests included wireless protocol development, mobile device management, mobile java and middleware He was also involved in standardization and joint research program activities After having left Nokia, he worked at OnRelay ltd on fixed-mobile convergence technologies, and then in 2010 he joined Ericsson where he works on IMs Gabor Paller runs the popular My life with Android blog and reviewed a number of Android books Abhinav Tyagi is a Computer Science graduate from Pune. He also holds a post graduate diploma in Advanced Computing from CDAC, Pune. He developed several Android applications while working as a Software Engineer at Antarix Networks Mumbai He is currently working on telecom protocols as a research development engineer at Nokia siemens Networks I would like to thank Joel Goveya and Tarun Singh for giving me this wonderful opportunity. Support files, eBooks, discount offers and more Youmightwanttovisitwww.Packtpub.comforsupportfilesanddownloadsrelated toⅴ our book Did you know that Packt offers eBook versions of every book published, with PDF andepubfilesavailable?Youcanupgradetotheebookversionatwww.packtpub com and as a print book customer, you are entitled to a discount on the e book copy Get in touch with us at service@packtpub com for more details Atwww.packtpub.comyoucanalsoreadacollectionoffreetechnicalarticlessign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and ebooks PACKTLIE° Do you need instant solutions to your lf questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books Why Subscribe? Fully searchable across every book published by Packt Copy and paste print and bookmark content On demand and accessible via web browser Free Access for packt account holders IfyouhaveanaccountwithPacktatwww.packtpub.comyoucanusethistoaccess PacktLib today and view nine entirely free books Simply use your login credentials for immediate access Table of contents Preface Chapter 1: Getting Started with Testing 7 Brief history Software bugs How bugs severely affect your projects 9 Why, what, how, and when to test What to test Activity lifecycle events Database and filesystem operations Physical characteristics of the device ypes of tests 13 Unit tests The test fixture 15 The setUp( method The tearDown( method 15 Test preconditions 16 The actual tests 16 Integration tests 20 Functional or acceptance tests 20 est case scenario Performance tests 22 System tests 23 Android testing framework 23 Instrumentation 23 est targets 25 Summary 26 Chapter 2: Testing on Android 27 JUnit 28 Creating the Android main project 28 Creating the android test project

试读 127P Android Application Testing Guide
立即下载 低至0.43元/次 身份认证VIP会员低至7折
    Android Application Testing Guide 34积分/C币 立即下载
    Android Application Testing Guide第1页
    Android Application Testing Guide第2页
    Android Application Testing Guide第3页
    Android Application Testing Guide第4页
    Android Application Testing Guide第5页
    Android Application Testing Guide第6页
    Android Application Testing Guide第7页
    Android Application Testing Guide第8页
    Android Application Testing Guide第9页
    Android Application Testing Guide第10页
    Android Application Testing Guide第11页
    Android Application Testing Guide第12页
    Android Application Testing Guide第13页
    Android Application Testing Guide第14页
    Android Application Testing Guide第15页
    Android Application Testing Guide第16页
    Android Application Testing Guide第17页
    Android Application Testing Guide第18页
    Android Application Testing Guide第19页
    Android Application Testing Guide第20页

    试读结束, 可继续阅读

    34积分/C币 立即下载 >