Agile Testing Strategies - SQAForums:敏捷测试策略sqaforums

上传人:飞*** 文档编号:43523854 上传时间:2018-06-06 格式:DOC 页数:5 大小:63KB
返回 下载 相关 举报
Agile Testing Strategies - SQAForums:敏捷测试策略sqaforums_第1页
第1页 / 共5页
Agile Testing Strategies - SQAForums:敏捷测试策略sqaforums_第2页
第2页 / 共5页
Agile Testing Strategies - SQAForums:敏捷测试策略sqaforums_第3页
第3页 / 共5页
Agile Testing Strategies - SQAForums:敏捷测试策略sqaforums_第4页
第4页 / 共5页
Agile Testing Strategies - SQAForums:敏捷测试策略sqaforums_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《Agile Testing Strategies - SQAForums:敏捷测试策略sqaforums》由会员分享,可在线阅读,更多相关《Agile Testing Strategies - SQAForums:敏捷测试策略sqaforums(5页珍藏版)》请在金锄头文库上搜索。

1、Agile Testing StrategiesScott Ambler As Scott shows here, the quality of your system is only as good as the quality of your testing efforts. Scott is a DDJ Senior Contributing Editor and author of numerous IT books. He can be contacted at scottAmbler.html. 1 Philosophical GroundworkOver the past fe

2、w months, Ive had more and more people ask me about how we go about testing on agile projects. Agile developers are definitely “test infected,“ and this month, I explore several strategies for testing on agile software development projects. A word of warning: Although we clearly dont follow our fath

3、ers serial testing methodology of yesteryear, I suspect that we can still learn a few tricks from dear old dad.Lets start by setting the philosophical groundwork: First, you want to test as early as you possibly can because the potential impact of a defect rises exponentially over time (this isnt al

4、ways true, but its something to be concerned about). In fact, many agile developers prefer a test-first approach. Second, you want to test as often as possible, and more importantly, as effectively as possible, to increase the chance that youll find defects. Although this increases your costs in the

5、 short term, studies have shown that greater investment in testing reduces the total cost of ownership of a system due to improved quality. Third, you want to do just enough testing for your situation: Commercial banking software requires a greater investment in testing than membership administratio

6、n software for your local Girl Scouts group. Fourth, pair testing, just like pair programming and modeling with others, is an exceptionally good idea. My general philosophy is that software development is a lot like swimmingits very dangerous to do it alone.2. Testing Throughout the LifecycleFigure

7、1 presents a high-level view of the agile lifecycle for the purpose of testing (see “Initiating an Agile Project“ at for details). Agile projects go through an often short Initiation phase (Iteration 0) where we set the foundation for the project; a Construction phase where we develop the system in

8、 an evolutionary (iterative and incremental) manner; an End Game phase where we transition our system into production; and a Production phase where we operate the system and support users. Dont fear the serial boogeyman: The Initiation phase is not a requirements phase, nor is the End Game a testing

9、 phase. Click image to view at full sizeFigure 1: Test activities during the agile lifecycle. Testing activities vary throughout the lifecycle. During Iteration 0, you perform initial setup tasks. This includes identifying the people who will be on the external “investigative“ testing team, identify

10、ing and potentially installing your testing tools, and starting to schedule scarce resources such as a usability-testing lab if required. If your project has a deadline, you likely want to identify the date into which your project must enter the End Game. The good news is that youll discover that in

11、creased testing during construction iterations enables you to do less testing during the End Game.A significant amount of testing occurs during construction iterationsremember, agilists test often, test early, and usually test first. This is confirmatory testing against the stakeholders current inte

12、nt and is typically milestone-based at the unit level. This is a great start, but its not the entire testing picture (which is why we also need investigative testing that is risk-based at more of an integration level). Regardless of the style, your true goal should be to test, not to plan to test, a

13、nd certainly not to write comprehensive documentation about how you intend to hopefully test at some point. Agilists still do planning, and we still write documentation, but our focus is on high-value activities such as actual testing.During the End Game, you may be required to perform final testing

14、 efforts for the release, including full system and acceptance testing. This is true if you are legislated to do so (common in life-critical situations such as medical software development) or if your organization has defined service-level agreements with customers who require it. Luckily, if youve

15、tested effectively during the construction iterations, your final testing efforts will prove to be straightforward and quick. If youre counting on doing any form of “serious testing“ during the End Game, then youre likely in trouble because your team wont have sufficient time to act on any defects t

16、hat you do find.3. Testing During a Construction IterationThe majority of testing occurs during construction iterations on agile projects. Your testing effort, just like your system, evolves throughout construction. Figure 2 depicts two construction iterations, indicating that there is confirmatory testing performed by the team, and in parallel, investigative testing efforts i

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号