1. Trang chủ
  2. » Công Nghệ Thông Tin

how google tests software

314 396 2

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 314
Dung lượng 9,63 MB

Nội dung

ptg7759704 www.it-ebooks.info ptg7759704 Praise for How Google Tests Software “James Whittaker has long had the pulse of the issues that are shaping testing practice. In the decade of the Cloud Transformation, this book is a must read not just for Googlers, but for all testers who want their prac- tices to remain relevant, competitive, and meaningful.” —Sam Guckenheimer, Product Owner, Visual Studio Strategy, Microsoft “Google has consistently been an innovator in the app testing space— whether it’s blending test automation with manual efforts, melding in- house and outsourced resources, or more recently, pioneering the use of in-the-wild testing to complement their in-the-lab efforts. This appetite for innovation has enabled Google to solve new problems and launch better apps. In this book, James Whittaker provides a blueprint for Google’s suc- cess in the rapidly evolving world of app testing.” —Doron Reuveni, CEO and Cofounder, uTest “This book is a game changer, from daily releases to heads-up displays. James Whittaker takes a computer-science approach to testing that will be the standard for software companies in the future. The process and tech- nical innovations we use at Google are described in a factual and enter- taining style. This book is a must read for anyone involved in software development.” —Michael Bachman, Senior Engineering Manager at Google Inc., AdSense/Display “By documenting much of the magic of Google’s test engineering prac- tices, the authors have written the equivalent of the Kama Sutra for mod- ern software testing.” —Alberto Savoia, Engineering Director, Google “If you ship code in the cloud and want to build a strategy for ensuring a quality product with lots of happy customers, you must study and seri- ously consider the methods in this book.” —Phil Waligora, Salesforce.com “James Whittaker is an inspiration and mentor to many people in the field of testing. We wouldn’t have the talent or technology in this field without his contributions. I am consistently in awe of his drive, enthusi- asm, and humor. He’s a giant in the industry and his writing should be required reading for anyone in the IT industry.” —Stewart Noakes, Chairman TCL Group Ltd., United Kingdom www.it-ebooks.info ptg7759704 “I worked with James Whittaker during his time at Microsoft, and although I miss having him here at Microsoft, I knew he would do great things at Google. James, Jason Arbon, and Jeff Carollo have packed this book with innovative testing ideas, practical examples, and insights into the Google testing machine. Anyone with an ounce of curiosity about Google’s approach to testing and quality or with the smallest desire to discover a few new ideas in testing will find value in these pages.” —Alan Page, Microsoft Xbox, and Author of How We Test Software at Microsoft www.it-ebooks.info ptg7759704 How Google Tests Software www.it-ebooks.info ptg7759704 This page intentionally left blank www.it-ebooks.info ptg7759704 James Whittaker Jason Arbon Jeff Carollo Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City How Google Tests Software www.it-ebooks.info ptg7759704 Many of the designations used by manufacturers and sellers to distin- guish their products are claimed as trademarks. Where those designa- tions appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein. The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include elec- tronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact: U.S. Corporate and Government Sales (800) 382-3419 corpsales@pearsontechgroup.com For sales outside the United States, please contact: International Sales international@pearson.com Visit us on the Web: informit.com/aw The Library of Congress cataloging-in-publication data is on file. Copyright © 2012 Pearson Education, Inc. All rights reserved. Printed in the United States of America. This pub- lication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, elec- tronic, mechanical, photocopying, recording, or likewise. To obtain permission to use material from this work, please submit a written request to Pearson Education, Inc., Permissions Department, One Lake Street, Upper Saddle River, New Jersey 07458, or you may fax your request to (201) 236-3290. ISBN-13: 978-0-321-80302-3 ISBN-10: 0-321-80302-7 Text printed in the Unit ed States on recycled paper at Courier in Westfo rd, Mas sach uset ts. First printing: March 2012 Publisher Paul Boger Executive Editor Chris Guzikowski Senior Development Editor Chris Zahn Managing Editor Kristy Hart Project Editor Jovana San Nicolas-Shirley Copy Editor Ginny Bess Munroe Indexer Erika Millen Proofreader Mike Henry Editorial Assistant Olivia Basegio Cover Designer Anne Jones Compositor Gloria Schurick www.it-ebooks.info ptg7759704 To al l t es ter s a t G oog le , M icros of t, and el se whe re wh o’ ve m ad e m e think differently. —James A. Whittaker To my wi fe Hea th er and my ch il dre n Lu ca , M ate o, Da nte , a nd Od ess a w ho thought I worked at Starbucks all this time. —Jason Arbon To Mo m, Da d, L au re n, an d A lex . —Jeff Carollo www.it-ebooks.info ptg7759704 This page intentionally left blank www.it-ebooks.info ptg7759704 A Fault to Guide Software Testing 010101011011000100100100101010110110001001001001010 Table of Contents Foreword by Alberto Savoia xiii Foreword by Patrick Copeland xvii Preface xxiii Chapter 1 Introduction to Google Software Testing 1 Quality≠Test 5 Roles 6 Organizational Structure 8 Crawl, Walk, Run 10 Types of Tests 12 Chapter 2 The Software Engineer in Test 15 The Life of an SET 17 Development and Test Workflow 17 Who Are These SETs Anyway? 22 The Early Phase of a Project 22 Team Structure 24 Design Docs 25 Interfaces and Protocols 27 Automation Planning 28 Testability 29 SET Workflow: An Example 32 Test Execution 40 Test Size Definitions 41 Use of Test Sizes in Shared Infrastructure 44 Benefits of Test Sizes 46 Test Runtime Requirements 48 Case 1: Change in Common Library 52 Test Certified 54 An Interview with the Founders of the Test Certified Program 57 Interviewing SETs 62 An Interview with Tool Developer Ted Mao 68 An Interview with Web Driver Creator Simon Stewart 70 www.it-ebooks.info [...]... of 1 http://googletesting.blogspot.com/2011/01 /how- google- tests- software. html 2 GTAC is the Google Test Automation Conference (www.GTAc.biz) www.it-ebooks.info Introduction to Google Software Testing authors—both books have three—and the fact that each book documents testing practices at a large software company, the approaches to testing couldn’t be more different The way Google tests software might... grant software testing a renaissance, Google was surely its epicenter This means the Google testing story merits a big book, too The problem is, I don’t write big books But then, Google is known for its simple and straightforward approach to software Perhaps this book is in line with that reputation How Google Tests Software contains the core information about what it means to be a Google tester and how. .. least it will not do it twice Google s success at testing cannot be written off as owing to a small or simple software portfolio The size and complexity of Google s software testing problem are as large as any company’s out there From client operating systems, to web apps, to mobile, to enterprise, to commerce and social, www.it-ebooks.info 3 4 How Google Tests Software Google operates in pretty much... How Google Tests Software Chapter 3 The Test Engineer A User-Facing Test Role The Life of a TE Test Planning Risk Life of a Test Case Life of a Bug Recruiting TEs Test Leadership at Google Maintenance Mode Testing Quality Bots Experiment BITE Experiment Google Test Analytics Free Testing Workflow External Vendors An Interview with Google Docs TE Lindsay Webster An Interview with YouTube TE Apple Chow... Guide Software Testing 010101011011000100100100101010110110001001001001010 Preface Software development is hard Testing that software is hard, too And when you talk about development and testing at the scale of the entire web, you are talking about Google If you are interested in how one of the biggest names in the Internet handles such large-scale testing, then you have found the right book Google tests. .. Web Google has solved many of the problems of speed and scale and this enables us, despite being a large company, to release software at the pace of a start-up As Patrick Copeland pointed out in his preface to this book, much of this magic has its roots in the test team At Google, software testing is part of a centralized organization called Engineering Productivity www.it-ebooks.info 2 How Google Tests. .. 252 252 www.it-ebooks.info xii How Google Tests Software Appendix C Blog Posts on Tools and Code Take a BITE out of Bugs and Redundant Labor Unleash the QualityBots RPF: Google s Record Playback Framework Google Test Analytics—Now in Open Source Comprehensive Quick Actionable Sustained Value 253 253 255 257 260 260 260 260 260 Index 265 www.it-ebooks.info A Fault to Guide Software Testing 010101011011000100100100101010110110001001001001010... which things are evolving in the software industry, I would not be too surprised if ten years from now this book will also be obsolete But until the paradigm shifts again, How Google Tests Software gives you a very timely and applicable insider’s view into how one of the world’s most successful and fastest growing Internet companies deals with the unique challenges of software testing in the twenty-first... contributed to here If anyone can take credit for how Google tests software today, it’s Patrick I am not just saying this because he’s my boss; I am saying it because he’s my boss and he told me to say it! Alberto Savoia is an engineering director and innovation agitator at Google He first joined Google in 2001 when, among other things, he managed the launch of Google AdWords and played a key role in kick-starting... question never fails to surface Even Nooglers ask it as soon as they emerge from new-employee orientation: How does Google test software? ” I am not sure how many times I have answered that question or even how many different versions I have given, but the answer keeps evolving the longer time I spend at Google and the more I learn about the nuances of our various testing practices I had it in the back of . 255 RPF: Google s Record Playback Framework 257 Google Test Analytics—Now in Open Source 260 Comprehensive 260 Quick 260 Actionable 260 Sustained Value 260 Index 265 xii How Google Tests Software www.it-ebooks.info ptg7759704 A. Interview with Google India Test Director Sujay Sahni 214 An Interview with Engineering Manager Brad Green 219 An Interview with James Whittaker 222 Chapter 5 Improving How Google Tests Software 229 Fatal. pages.” —Alan Page, Microsoft Xbox, and Author of How We Test Software at Microsoft www.it-ebooks.info ptg7759704 How Google Tests Software www.it-ebooks.info ptg7759704 This page intentionally

Ngày đăng: 01/08/2014, 17:11

TỪ KHÓA LIÊN QUAN

w