12
返回列表 发新帖
楼主: AlexQin

The Test Plan Samples

[复制链接]
论坛徽章:
1056
紫蜘蛛
日期:2015-09-22 15:53:22紫蜘蛛
日期:2015-10-15 13:48:52紫蜘蛛
日期:2015-10-15 14:45:48紫蜘蛛
日期:2015-10-15 14:47:47紫蜘蛛
日期:2015-10-15 14:48:45九尾狐狸
日期:2015-09-22 15:53:22九尾狐狸
日期:2015-10-15 13:50:37九尾狐狸
日期:2015-10-15 14:45:48九尾狐狸
日期:2015-10-15 14:47:47九尾狐狸
日期:2015-10-15 14:48:45
11#
 楼主| 发表于 2011-7-20 09:02 | 只看该作者
Test Plan Template
Test Plan Template
(Name of the Product)
TABLE OF CONTENTS
1.0 INTRODUCTION
2.0 OBJECTIVES AND TASKS
      2.1 Objectives
      2.2 Tasks

3.0 SCOPE
4.0 Testing Strategy
      4.1 Alpha Testing (Unit Testing)
      4.2 System and Integration Testing
      4.3 Performance and Stress Testing
      4.4 User Acceptance Testing
      4.5 Batch Testing
      4.6 Automated Regression Testing
      4.7 Beta Testing

5.0 Hardware Requirements
6.0 Environment Requirements
      6.1 Main Frame
      6.2 Workstation

7.0 Test Schedule
8.0 Control Procedures
9.0 Features to Be Tested
10.0 Features Not to Be Tested
11.0 Resources/Roles & Responsibilities
12.0 Schedules
13.0 Significantly Impacted Departments (SIDs)
14.0 Dependencies
15.0 Risks/Assumptions
16.0 Tools
17.0 Approvals
18.0 References
Appendices

使用道具 举报

回复
论坛徽章:
1056
紫蜘蛛
日期:2015-09-22 15:53:22紫蜘蛛
日期:2015-10-15 13:48:52紫蜘蛛
日期:2015-10-15 14:45:48紫蜘蛛
日期:2015-10-15 14:47:47紫蜘蛛
日期:2015-10-15 14:48:45九尾狐狸
日期:2015-09-22 15:53:22九尾狐狸
日期:2015-10-15 13:50:37九尾狐狸
日期:2015-10-15 14:45:48九尾狐狸
日期:2015-10-15 14:47:47九尾狐狸
日期:2015-10-15 14:48:45
12#
 楼主| 发表于 2011-7-21 08:27 | 只看该作者
Test Plan Driver Method

The "Test Plan Driver" method preserves most of the advantages of the "Function Decomposition" method, while eliminating most of the disadvantages. In this method, the entire testing process is data-driven including functionality. The detail Test Plan is written in a specific format, then saved in a particular record-format which the pre-written "Utility" scripts use to control the entire processing of the Automated Test.

Example:
This example shows a Test case document developed by the tester using a spreadsheet containing "Key-Words" in Column 1. In this method, the entire process is data-driven, including functionality. The Key Word control the processing. Note that this test case could also be executed manually if necessary.

使用道具 举报

回复
论坛徽章:
1056
紫蜘蛛
日期:2015-09-22 15:53:22紫蜘蛛
日期:2015-10-15 13:48:52紫蜘蛛
日期:2015-10-15 14:45:48紫蜘蛛
日期:2015-10-15 14:47:47紫蜘蛛
日期:2015-10-15 14:48:45九尾狐狸
日期:2015-09-22 15:53:22九尾狐狸
日期:2015-10-15 13:50:37九尾狐狸
日期:2015-10-15 14:45:48九尾狐狸
日期:2015-10-15 14:47:47九尾狐狸
日期:2015-10-15 14:48:45
13#
 楼主| 发表于 2011-7-21 08:28 | 只看该作者
Test Plan Outline
  • BACKGROUND
  • INTRODUCTION
  • ASSUMPTIONS
  • TEST ITEMS
    List each of the items (programs) to be tested.
  • FEATURES TO BE TESTED
    List each of the features (functions or requirements) which will be tested or demonstrated by the test.
  • FEATURES NOT TO BE TESTED
    Explicitly lists each feature, function, or requirement which won't be tested and why not.
  • APPROACH
    Describe the data flows and test philosophy.
    Simulation or Live execution, Etc.
  • ITEM PASS/FAIL CRITERIA Blanket statement
    Itemized list of expected output and tolerances
  • SUSPENSION/RESUMPTION CRITERIA
    Must the test run from start to completion?
    Under what circumstances may it be resumed in the middle?
    Establish check-points in long tests.
  • TEST DELIVERABLES
    What, besides software, will be delivered?
    Test report
    Test software
  • TESTING TASKS Functional tasks (e.g., equipment set up)
    Administrative tasks
  • ENVIRONMENTAL NEEDS
    Security clearance
    Office space & equipment
    Hardware/software requirements
  • RESPONSIBILITIES
    Who does the tasks in Section 10?
    What does the user do?
  • STAFFING & TRAINING
  • SCHEDULE
  • RESOURCES
  • RISKS & CONTINGENCIES
  • APPROVALS

使用道具 举报

回复
论坛徽章:
1056
紫蜘蛛
日期:2015-09-22 15:53:22紫蜘蛛
日期:2015-10-15 13:48:52紫蜘蛛
日期:2015-10-15 14:45:48紫蜘蛛
日期:2015-10-15 14:47:47紫蜘蛛
日期:2015-10-15 14:48:45九尾狐狸
日期:2015-09-22 15:53:22九尾狐狸
日期:2015-10-15 13:50:37九尾狐狸
日期:2015-10-15 14:45:48九尾狐狸
日期:2015-10-15 14:47:47九尾狐狸
日期:2015-10-15 14:48:45
14#
 楼主| 发表于 2011-7-21 08:28 | 只看该作者
Sample Test Strategy Worksheet

Type of Computing Environments


Web-based, Mainframe Batch
Purpose of Testing

To validate business processes are supported by the customized application.
Type of Software

Vendor-developed, Web-based
Scope of Testing

A/P, A/R, Payroll, HR, Integration with existing systems
Critical Success Factors

Security, Correctness, Performance, Ease of Use, Interoperability
Phases of Testing

Unit, System, UAT
Audience

Internal Accounting, Payroll, HR, new and existing employees, personnel in interfaced systems
Tradeoffs

Scope, Cost
Types of Testing

Functional, based on: Business processes, Security policies, Use cases
Development Tools and Test Tools (e.g., GUI builders, automated capture/playback, etc.)

Screen capture, test management, defect management
Business/operational concerns

Payroll processing must be correct could be fined if in error
HR processing must be correct
Accounting processing must be correct
Performance times must be within specified limits

Risks

Application Risks - Security, Correctness, Data conversion
Project Risks Lack of experience with application and technology, No defined requirements, No defined processes, High employee turnover


Constraints

Lack of time, lack of management support, lack of experience, lack of dedicated test environment

Assumptions

Critical need of new application, Ongoing vendor support, vendor will customize application, vendor will fix defects

Deliverables

Final test report, Defect log, Baseline of correct test results for future tests

Sample Test Strategy Worksheet

Project Phase Testing Phase Stakeholders Purpose/Why

使用道具 举报

回复
论坛徽章:
1056
紫蜘蛛
日期:2015-09-22 15:53:22紫蜘蛛
日期:2015-10-15 13:48:52紫蜘蛛
日期:2015-10-15 14:45:48紫蜘蛛
日期:2015-10-15 14:47:47紫蜘蛛
日期:2015-10-15 14:48:45九尾狐狸
日期:2015-09-22 15:53:22九尾狐狸
日期:2015-10-15 13:50:37九尾狐狸
日期:2015-10-15 14:45:48九尾狐狸
日期:2015-10-15 14:47:47九尾狐狸
日期:2015-10-15 14:48:45
15#
 楼主| 发表于 2011-7-21 08:32 | 只看该作者
Load/Performance Test Plan
Reference Documents

Reference information used for the development of this plan including:
Business requirements
Technical requirements
Test requirements
And other dependencies

1. Scope
What does this document entail?
What is being tested?
What is the overall objective of this plan? For examples:
To document test objectives, test requirements, test designs, test procedures, and other project management information
To solicit feedback and build consensus
To define development and testing deliverables
To secure commitment and resources for the test effort

2. Approach
The high-level description of the testing approach that enables us to cost effectively meet the expectation stated in the Scope section.

3. Load Test Types and Schedules
Specify the test types (with definition for each) to run:
Acceptance test
Baseline test
2B1 load test
Goal-reaching test
Spike test
Burstiness test
Stress test
Scalability test
Regression test
Benchmark test

Be specific:
Specify what tests you will run
Estimate how many cycles of each test you will run
Schedule your tests ahead of time
Specify by what criteria you will consider the SUT to be ready-for-test
Forward thinking: Determine and communicate the planned tests and how the tests are scheduled

4. Performance/Capability Goals

Identify goals:
Percentage of requested static pages that must meet the acceptable response time?
Percentage of requested scripts that must meet the acceptable response time?
The baseline multiplier (2x, 4x, ...) that the system must be capable of handling?
The spike ratio that the system must be capable of handling?
The peak ratio that the system must be capable of handling?
The burstiness ratio that the system must be capable of handling?
Tolerance ratio: Imposed load ? 25 %?
Safety ratio: Imposed load x 2?
Spike ratio: Imposed load x 3?
Burstiness ratio: Imposed load x 5?
Increase the load by multiplying the load baseline by 1x, 2x, 3x, 4x, Nx gradually until unacceptable response time is reached.

Other questions to consider:
What is response time?
What is acceptable response time?
Which metrics should we collect?
What is the correlation between demand and increased load?
How do we determine which components are problematic?
How do we correlate financial implications?

5. Load Testing Process, Status Reporting, Final Report

Describe the testing and reporting procedures. For example:
The internal test team will execute all created scripts. These Scripts will be generated and executed against the system at least three times. We will execute these scripts again, after subsequent hardware, software, or other fixes are introduced.


Test team will baseline load as follows:
Load Test Team will test Nile.com with 1000 Simultaneous Clients/Users, and report back on the following metrics:
Response Time each transaction hitting the Web site.
Any web or database server errors as reported in the data log.
Round time
Failed Web Transactions
There will be Status Reports sent to Team Lead detailing:
Performance tests run
Performance metrics collected
Performance Errors and status
Number of Bugs Entered
Status Summary

Additional load testing, if needed.

The Final Report will include summary bug counts, overall performance assessment, and test project summary items.

Additional Information to be provided by Development Team:
Build Schedule
Acceptance test criteria
Deployment Plans

6. Bug Reporting and Regression Instructions

Describe the bug reporting process and the fix/change regression test procedures.

7. Tools Used

State the tool solutions for the project:
Load testing tools
Monitoring tools
Tool Options:
Product vs. Application Service Provider (ASP)
Freeware
Lease or rent
Purchase
Build
Outsourcing (testing with virtual client licensing included)

8. Training Needs

Training programs to be provided to the team to enable successful planning and execution.

9. Load Descriptions

Server-based
Number of users and/or sessions
Average session time
Number of page views
Average page views per session
Peak period (e.g., 75% of traffic is from 11:00 AM-4:00 PM)
Number of hits
Average page size
Most requested pages
Average time spend on page
New users vs. returning users
Frequency of visits (e.g., 75% of users made one visit)
Demographics
Client information such as browser, browser version, Java script support, Java script enable/disable, and so on.

User-based
Number of users
Session length
User activities and frequency of activities per session
Think/Read/Data-input time
Percentage by functional group
Percentage by human speed

Percentage by human patience (cancellation rates)
Percentage by domain expertise (speed)
Percentage by familiarity (speed)
Percentage by demographics (arrival rates)

Other questions to consider:
What is the definition of "workload"?

How do we size the workload?
What is the expected workload?
What is the mix ratio of static pages vs. code?
What is the definition of "increased load"?
What is future growth? Can it be quantified?
What is the definition of scalability?

10. System Under Test Environment

Specifying mixes of system hardware, software, memory, network protocol, bandwidth, etc.
Network access variables: For example, 56K modem, 128K Cable modem, T1, etc.
Demographic variables: For example San Francisco, Los Angeles, Chicago, New York, Paris, London, etc.
ISP infrastructure variables: For example, first tier, second tier, etc.
Client baseline configurations
Computer variables
Browser variables
Server baseline configurations
Computer variables
System architecture variables and diagrams

Other questions to consider asking:
What is the definition of "system"?
How many other users are using the same resources on the system under test (SUT)?
Are you testing the SUT in its complete, real-world environment (with load balances, replicated database, etc.)?
Is the SUT inside or outside the firewall?
Is the load coming from the inside or outside of the firewall?

11. Exclusions

Set clear expectations' state which goals will be outside of the scope of this testing. For example:
Content accuracy or appropriateness testing is out of the scope of this plan.
The integration of any major third party components (for example a search engine, credit card processor, or mapping component) with the site will be tested, though the scope of the project does not include in-depth functional testing of these components.
Internationalization
Compatibility Testing

12. Test Deliverables

This test plan
Performance testing goals
Workload definitions
User scenario designs
Performance test designs
Test procedures
System baseline/System-under-test configurations
Metrics to collect
Tool evaluation and selection reports (first time, or as needed)
Test scripts/suites
Test run results
Analysis reports against the collected data
Performance related error reports (e.g., failed transactions)
Functional bug reports (e.g., data integrity problems)
Periodic status reports
Final report

13. Budget/Resource

Monetary requirements for equipment and people to complete the plan.


14. Team Members and Responsibilities

Project team members, their responsibilities and contact information.


15. List of Appendices

Specific test case, test design and test script information to be added as we go. Here are a few examples:
Real-World User-Level Test Suite
Concurrency Test Suite
Data Elements
Test Scripts
Error Reports
Web Monitoring Data

16. Test Plan Approval

Business Approval

______________________ __________
[Name/Title] Date


Testing Approval

_________________________ ______________ [Name/Title] Date

Appendices
Appendix 1 User Scenario Test Suite
Appendix 2 Concurrency Load Testing Suite
Appendix 3 Data Element from Load Test
Appendix 4 Test Scripts Requires Webload or Text Editor IN JAVASCRIPT
Appendix 5 Error or Web Server Failures.
Appendix 5 Web Monitoring Data.

使用道具 举报

回复
论坛徽章:
1309
ITPUB季度 技术新星
日期:2011-06-16 10:10:12海蓝宝石
日期:2012-04-03 16:46:37利物浦
日期:2023-02-13 12:39:45Heart of PUB
日期:2012-04-03 16:46:37指数菠菜纪念章
日期:2012-06-08 13:16:41季节之章:春
日期:2012-04-03 16:46:37季节之章:夏
日期:2012-04-03 16:46:37体育版块博采纪念徽章
日期:2008-07-03 19:47:13季节之章:秋
日期:2012-04-03 16:46:37季节之章:冬
日期:2012-04-03 16:46:37
16#
发表于 2011-8-18 23:46 | 只看该作者
在项目中从来没觉得Test Plan有什么作用
很多工作都只是为了完成task而已
更别谈什么评审,评估等等

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表