没有合适的资源?快使用搜索试试~ 我知道了~
自动化测试<Software Test Automation>
4星 · 超过85%的资源 需积分: 15 30 下载量 117 浏览量
2008-11-23
09:31:13
上传
评论
收藏 8.3MB PDF 举报
温馨提示
试读
591页
自己看了还不错 本书分为两部分,第一部分介绍了一些自动化测试的理论,框架,以及在实行自动化测试的过程中要注意的一些问题。第二部分则是一些经验以及工具的使用,这个部分倒是看得模模糊糊,因为自己对一些工具的使用可能也不是很熟悉。whatever,这是一本好书。。。
资源推荐
资源详情
资源评论
ACM PRESS BOOKS
This book is published as part of ACM Press Books - a collaboration between the
Association for Computing (ACM) and Addison Wesley Longman Limited. ACM is the
oldest and largest educational and scientific society in the information technology field.
Through its high-quality publications and services, ACM is a major force in advancing the
skills and knowledge of IT professionals throughout the world. For further information
about ACM, contact:
ACM Member Services ACM European Service Center
1515 Broadway, 17th Floor 108 Cowley Road
New York, NY 10036-5701 Oxford 0X4 1JF
Phone: 1-212-626-0500 United Kingdom
Fax: 1-212-944-1318 Phone: +44-1865-382388
E-mail: acmhelp@acm.org Fax: +44-1865-381388
E-mail: [email protected]
URL: http://www.acm.org
Selected ACM titles
Component Software: Beyond Object-Oriented Programming Clemens Szyperski
The Object Advantage: Business Process Reeingineering with Object Technology (2nd edn)
Ivar Jacobson, Maria Ericsson, Agneta Jacobson, Gunnar Magnusson
Object-Oriented Software Engineering: A Use Case Driven Approach Ivar Jacobson,
Magnus Christerson, Patrik Jonsson, Gunnar Overgaard
Software for Use: A Practical Guide to the Models and Methods of Usage Centered Design
Larry L Constantine, Lucy A D Lockwood
Bringing Design to Software: Expanding Software Developments to Include Design
Terry Winograd, John Bennett, Laura de Young, Bradley Hartfield
CORBA Distributed Objects: Using Orbix Sean Baker
Software Requirements and Specifications: A Lexicon of Software Practice, Principles and
Prejudices Michael Jackson
Business Process Implementation: Building Workflow Systems Michael Jackson,
Graham Twaddle
Interacting Processes: A Multiparty Approach to Coordinated Distributed Programming
Nissim Francez, Ira Forman
Design Patterns for Object-Oriented Software Development Wolfgang Free
Software Testing in the Real World: Improving the Process Ed Kit
Test Process Improvement: A Practical Step-by-Step Guide to Structured Testing Tim
Koomen, Martin Pol
Requirements Engineering and Rapid Development: An Object-Oriented Approach Ian
Graham
Software Test
Automation
Effective use of test
execution tools
MARK FEWSTER
DOROTHY GRAHAM
ACM Press
New York
Addison-Wesley
An imprint of
Pearson Education
Harlow, England • London • Reading, Massachusetts
Menlo Park, California • New York
Don Mills, Ontario * Amsterdam • Bonn
Sydney • Singapore • Tokyo * Madrid
San Juan • Milan • Mexico City • Seoul • Taipei
PEARSON EDUCATION LIMITED
Head Office: London Office:
Edinburgh Gate 128 Long Acre
Harlow CM20 2JE London WC2E 9AN
Tel:+44 (0)1279 623623 Tel:+44 (0)20 7447 2000
Fax: +44 (0) 1279 431059 Fax: +44 (0)20 7240 5771
Website: www.awl.com/cseng/
h'irsl published in Grout liriUiiu 1994
Copyright'«') by ACM Press, A Division of the Association for Computing Machinery Inc. (ACM)
The rights of Mark Fewstcr and Dorothy Graham to be identified as authors of this work have been
asserted by them in accordance with the Copyright, Designs and Patents Act 1988.
ISBN 0-201-33140-3
British Library Cataloguing in Publication Data
A catalogue record for this book is available from the British Library.
Library of Congress Cataloging in Publication Data
Fewster, Mark, 1959-
Soltvvarc lest automation / Mark Fcwster, Dorothy Graham.
p. cm.
"ACM Press books" -CIP facing t.p. Includes
bibliographical references and index. ISBN
0-201-33140-3 (pbk. : alk. paper)
1. Computer software-Testing-Automation. I. Graham, Dorothy,
1944- . II. Title. QA76.76.T48F49 1999
005. l'4-dc21 99-35578
CIP
All rights reserved; no part of this publication may be reproduced, stored in a retrieval system, or
transmitted in any form or by any means, electronic, mechanical, photocopying, recording, or
otherwise without either the prior written permission of the Publishers or a licence permitting
restricted copying in the United Kingdom issued by the Copyright Licensing Agency Ltd, 90
Tottenham Court Road, London VV1P OLP.
The programs in this book have been included for their instructional value. The publisher does not
offer any warranties or representations in respect of their fitness for a particular purpose, nor does
the publisher accept any liability for any loss or damage arising from their use.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed
as trademarks. Pearson Education has made every attempt to supply trademark information about
manufacturers and their products mentioned in this book. A list of the trademark designations and
their owners appears on page xviii.
10 9876543
Typeset by Panlek Arts, Maidstonc, Kent.
Printed and bound in Great Britain by Biddies Ltd, Guildford and King's Lynn.
The Publishers' policy is to use paper manufactured from sustainable forests.
Contents
Foreword
xii
Preface
xiii
Part 1: Techniques for Automating Test Execution
Test automation context
3
1.1 Introduction 3
1.2 Testing and test automation are different 4
1.3 The V-model 6
1.4 Tool support for life-cycle testing 7
1.5 The promise of test automation 9
1.6 Common problems of test automation 10
1.7 Test activities 13
1.8 Automate test design? 17
1.9 The limitations of automating software testing 22
Summary 25
Capture replay is not test automation
26
2.1 An example application: Scribble 26
2.2 The manual test process: what is to be automated? 34
2.3 Automating test execution: inputs 42
2.4 Automating test result comparison 48
2.5 The next steps in evolving test automation 56
2.6 Conclusion: automated is not automatic 62
Summary 63
Scripting techniques
65
3.1 Introduction 65
3.2 Scripting techniques 75
3.3 Script pre-processing 92
Summary 97
4 Automated comparison 101
4.1
Verification, comparison, and automation
101
4.2
What do comparators do?
105
4.3
Dynamic comparison
107
4.4
Post-execution comparison
108
4.5
Simple comparison
114
4.6
Complex comparison
115
4.7
Test sensitivity
119
4.8
Comparing different types of outcome
122
4.9
Comparison filters
130
4.10
Comparison guidelines
140
Summary
142
5 Testware architecture 143
5.1
What is testwarc architecture?
143
5.2
Key issues to be resolved
144
5.3
An approach
149
5.4
Might this be overkill?
174
Summary
174
6 Automating pre- and post-processing 176
6.1
What are prc- and post-processing?
176
6.2
Pre- and post-processing
179
6.3
What should happen after test case execution?
183
6.4
Implementation issues
184
Summary
190
7 Building maintainable tests 191
7.1
Problems in maintaining automated tests
191
7.2
Attributes of test maintenance
192
7.3
The conspiracy
199
7.4
Strategy and tactics
200
Summary
202
8 Metrics 203
8.1
Why measure testing and test automation?
203
8.2
What can we measure?
207
8.3
Objectives for testing and test automation
209
8.4
Attributes of software testing
211
8.5
Attributes of test automation
219
8.6
Which is the best test automation regime?
225
8.7
Should I really measure all these?
226
Summary
227
剩余590页未读,继续阅读
资源评论
- llchzhi2015-04-15英语的都需要耐心看,还不错
a1987222
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功