Phương pháp viết test plan

Nơi trao đổi thảo luận các thông tin liên quan đến Test plan.
Forum rules
Các bạn chỉ được post tất cả các thông tin liên quan đến Test plan tại đây.
Nên search trước khi post bài mới, mẫu test plan được post riêng ở Mục Template.
Post Reply
tvn
Admin
Posts: 4900
Joined: Tue 10 Aug, 2010 10:11 am
Location: HCM
Contact:

Phương pháp viết test plan

Post by tvn »

Mời bạn tham khảo các mẫu kế hoạch kiểm thử - test plan

If you decide to use the 10 step process for developing a test plan, I have provided a fairly comprehensive description of the tasks and events involved. But, I thought that having an example of a test plan created using the process may clarify some questions and better illustrate the result. Keep in mind that this is a completely fictional project. Any resemblance to a real project is purely coincidental

INTRODUCTION

This is the Master Test Plan for the Reassigned Sales Re-write project. This plan will address only those items and elements that are related to the Reassigned Sales process, both directly and indirectly affected elements will be addressed. The primary focus of this plan is to ensure that the new Reassigned Sales application provides the same level of information and detail as the current system while allowing for improvements and increases in data acquisition and level of details available (granularity).
The project will have three levels of testing, Unit, System/Integration and Acceptance. The details for each level are addressed in the approach section and will be further defined in the level specific plans.
The estimated time line for this project is very aggressive (six (6) months), as such, any delays in the development process or in the installation and verification of the third party software could have significant effects on the test plan. The acceptance testing is expected to take one (1) month from the date of application delivery from system test and is to be done in parallel with the current application process.

TEST ITEMS

The following is a list, by version and release, of the items to be tested:
A. EXTOL EDI package, Version 3.0
If a new release is available prior to roll-out it will not be used until after installation. It will be a separate upgrade/update project.
B. DNS PC EDI transaction package, Version 2.2
If a new release is available prior to roll-out it will not be used until after installation. It will be a separate upgrade/update project.
C. Custom PC EDI transaction package (two distributors only).
D. New reassigned sales software, initial version to be Version 1.0
A detailed listing of programs, databases, screens and reports will be provided in the system and detailed design documents.
E. Order Entry EDI interface software, Current version at time of pilot. Currently, version 4.1.
F. Reassigned Sales System requirements document, SST_RQMT.WPD version 4.1
G. Reassigned Sales System Design Document, SST_SYSD.WPD version 3.02
H. Reassigned Sales Detail Design Document, SST_DTLD.WPD version 3.04

SOFTWARE RISK ISSUES

There are several parts of the project that are not within the control of the Reassigned Sales application but have direct impacts on the process and must be checked as well.
A. The local AS/400 based vendor supplied EDI software package. This package will be providing all the reformatting support from the ANSI X12 EDI formats to the internal AS/400 data base file formats.
B. The PC based software package installed at each distributor's location (both custom written and vendor supplied) will be providing the formatting of the distributors data into the correct EDI X12 formats.
C. Backup and Recovery of the EDI transmission files, local databases and restart of the translation process, must be carefully checked.
D. The ability to restart the application in the middle of the process is a critical factor to application reliability. This is especially true in the case of the transmission files as once the data is pulled from the mail box it is no longer available there and must be protected locally.
E. Database security and access must be defined and verified, especially for files shared between the Order Entry application and the Reassigned Sales process. All basic security will be provided through the AS/400 systems native security process.

FEATURES TO BE TESTED

The following is a list of the areas to be focused on during testing of the application.
A. New EDI data acquisition process.
B. Redesigned On-line screens.
C. Redesigned/Converted reports.
D. New Automated Archive process.
E. Interface to the Order Entry system and data bases.
F. Computation of Sales Activity by region for commissions.

FEATURES NOT TO BE TESTED

The following is a list of the areas that will not be specifically addressed. All testing in these areas will be indirect as a result of other testing efforts.
A. Non-EDI Order Entry processes.
Only the EDI interface of the Order Entry application will be verified. Changes to the EDI interface to support Reassigned Sales are not anticipated to have an impact on the Order Processing application. Order Entry is a separate application sharing the data interface only, orders will continue to process in the same manner.
B. Network Security and dial-in access.
Changes to include EDI transactions for reassigned sales will have no impact on the security aspects of the network or the EXTOL/EDI interface.
C. Operational aspects of the EDI process.
Changes to include EDI transactions for reassigned sales will have no impact on the operational aspects of the EXTOL/EDI interface.
D. PC based spreadsheet analysis applications using Reassigned Sales data.
These applications are completely under the control of the customer and are outside the scope of this project. The necessary data base format information will be provided to the customers to allow them to extract data. Testing of their applications is the responsibility of the application maintainer/developer.
E. Business Analysis functions using Reassigned Sales data.
These applications are completely under the control of the management support team and are outside the scope of this project. The necessary data base format information will be provided to the support team to allow them to extract data. Testing of their applications is the responsibility of the application maintainer/developer.
F. Marketing/Forecasting processes using Reassigned Sales data.
These applications are completely under the control of marketing and are outside the scope of this project. The necessary data base format information will be provided to marketing to allow them to extract data. Testing of their applications is the responsibility of the application maintainer/developer.

APPROACH

Testing Levels

The testing for the Reassigned Sales project will consist of Unit, System/Integration (combined) and Acceptance test levels. It is hoped that there will be at least one full time independent test person for system/integration testing. However, with the budget constraints and time line established; most testing will be done by the test manager with the development teams participation.
UNIT Testing will be done by the developer and will be approved by the development team leader. Proof of unit testing (test case list, sample output, data printouts, defect information) must be provided by the programmer to the team leader before unit testing will be accepted and passed on to the test person. All unit test information will also be provided to the test person.
SYSTEM/INTEGRATION Testing will be performed by the test manager and development team leader with assistance from the individual developers as required. No specific test tools are available for this project. Programs will enter into System/Integration test after all critical defects have been corrected. A program may have up to two Major defects as long as they do not impede testing of the program (I.E. there is a work around for the error).

ACCEPTANCE Testing will be performed by the actual end users with the assistance of the test manager and development team leader. The acceptance test will be done in parallel with the existing manual ZIP/FAX process for a period of one month after completion of the

System/Integration test process.

Programs will enter into Acceptance test after all critical and major defects have been corrected. A program may have one major defect as long as it does not impede testing of the program (I.E. there is a work around for the error). Prior to final completion of acceptance testing all open critical and major defects MUST be corrected and verified by the Customer test representative.
A limited number of distributors will participate in the initial acceptance test process. Once acceptance test is complete, distributors will be added as their ability to generate the required EDI data is verified and checked against their FAX/ZIP data. As such, some distributors will be in actual production and some in parallel testing at the same time. This will require careful coordination of the control tables for the production system to avoid posting test data into the system.

Configuration Management/Change Control

Movement of programs from the development portion of the system to the test portion of the system will be controlled through the existing Configuration Management application process. This will ensure that programs under development and those in full test will have the same version controls and tracking of changes. The same extract process will be used to migrate the programs from the Development/Test to the production system once all testing has been completed according to published plans and guidelines.

This will allow some early testing of the numbers received through the old ZIP/FAX process and the higher level of detail received through the new EDI process. This will also help identify potential problems with the comparison of the two sets of numbers.
All changes, enhancements and other modification requests to the system will be handled through the published change control procedures. Any modifications to the standard procedures are identified in the project plan change control section.


Test Tools

The only test tools to be used are the standard AS/400 provided utilities and commands.

A. The Program Development Manager (PDM) will be used as the source version configuration management tool in conjunction with the in-house check-in/check-out control utility. The check-in/out utility is part of each developers standard AS/400 access menu.

B. The initial prototypes for the new screens will be developed using the AS/400 Screen Design Aid (SDA). The initial layout and general content of the screens will be shown to the sales administration staff prior to proceeding with testing and development of the screens.

C. All editing, compiling and debugging will be done using the Source Entry Utility (SEU).

D. Data acquisition will be from actual production files where available using the AS/400 data base copy command CPYF and it's various functions. Additional data will be created and modified as needed using the Data File Utility (DFU). No changes will ever be made to actual production files under any circumstances.

E. Initial data for EDI testing will be done using one or two beta sites and replicating the data at the mailbox location or locally in the control files, to create high volume data and to simulate multiple distributors sending in data.

Meetings

The test team will meet once every two weeks to evaluate progress to date and to identify error trends and problems as early as possible. The test team leader will meet with development and the project manager once every two weeks as well. These two meetings will be scheduled on different weeks. Additional meetings can be called as required for emergency situations.

Measures and Metrics

The following information will be collected by the Development team during the Unit testing process. This information will be provided to the test team at program turnover as well as be provided to the project team on a biweekly basis.

1. Defects by module and severity.

2. Defect Origin (Requirement, Design, Code)

3. Time spent on defect resolution by defect, for Critical & Major only. All Minor defects can be totaled together.

The following information will be collected by the test team during all testing phases. This information will be provided on a biweekly basis to the test manager and to the project team.

1. Defects by module and severity.

2. Defect Origin (Requirement, Design, Code)

3. Time spent on defect investigation by defect, for Critical & Major only. All Minor defects can be totaled together.

4. Number of times a program submitted to test team as ready for test.

5. Defects located at higher levels that should have been caught at lower levels of testing.

ITEM PASS/FAIL CRITERIA

The test process will be completed once the initial set of distributors have successfully sent in reassigned sales data for a period of one month and the new EDI data balances with the old ZIP/FAX data received in parallel. When the sales administration staff is satisfied that the data is correct the initial set of distributors will be set to active and all parallel stopped for those accounts.
At this point the next set of distributors will begin the parallel process, if not already doing so. Only the initial set of distributors must pass the data comparison test to complete the testing, at that point the application is considered live. All additional activations will be on an as ready basis. When a distributor is ready, and their data is verified, they will then also be activated.
SUSPENSION CRITERIA AND RESUMPTION REQUIREMENTS

A. No Distributors are ready for testing at pilot initiation.

The pilot project will be delayed until at least three Distributors are ready to initiate the pilot process. No additional elements will be added to the Reassigned Sales project during this delay.

B. Unavailability of two EDI mail boxes.

In the event two production lines and mail box facilities cannot be obtained the current single production line and mail box will continue to be used until a second line becomes available. This will necessitate careful coordination between the Order Entry department and the Reassigned Sales group.

C. Distributor PC EDI software delays.

In the event of a delay in the delivery or availability of the PC software package, the only major delay will be in pilot testing. Unit, Integration and Systems testing can continue using limited data until such time as the PC software is ready.
This will also add time to the lower levels of testing as full complete testing cannot be done without reasonable amounts of data. The data can only be derived from actual transmissions from the PC software package.

TEST DELIVERABLES

1. Acceptance test plan
2. System/Integration test plan
3. Unit test plans/turnover documentation
4. Screen prototypes
5. Report mock-ups
6. Defect/Incident reports and summaries
7. Test logs and turnover reports

REMAINING TEST TASKS

Image


ENVIRONMENTAL NEEDS

The following elements are required to support the overall testing effort at all levels within the reassigned sales project:
A. Access to both the development and production AS/400 systems. For development, data acquisition and testing.
B. A communications line to the EDI mailbox facility. This will have to be a shared line with the Order Entry process as only one mailbox is in use. There will have to be a coordinated effort to determine how often to poll the mailbox as the order entry process requires that data be accessed every hour and the sales process really only needs to be pulled once a day.
C. An installed and functional copy of the AS/400 based EDI vendor package.
D. At least one distributor with an installed copy of the PC based EDI vendor package for sales data.
E. Access to the master control tables (data bases) for controlling the production/testing environment on both production and development systems.
F. Access to the nightly backup/recovery process.

STAFFING AND TRAINING NEEDS

It is preferred that there will be at least one (1) full time tester assigned to the project for the system/integration and acceptance testing phases of the project. This will require assignment of a person part time at the beginning of the project to participate in reviews etc... and approximately four months into the project they would be assigned full time. If a separate test person is not available the project manager/test manager will assume this role.
In order to provide complete and proper testing the following areas need to be addressed in terms of training.
A. The developers and tester(s) will need to be trained on the basic operations of the EDI interface. Prior to final acceptance of the project the operations staff will also require complete training on the EDI communications process.
B. The sales administration staff will require training on the new screens and reports.
C. At least one developer and operations staff member needs to be trained on the installation and control of the PC based distributors EDI package. The distributors personnel will also have to be trained on the PC based package and its operational characteristics.

Theo http://it.toolbox.com



thaohuyen
Hoc Tester
Posts: 2
Joined: Sat 29 Oct, 2011 2:53 pm
Contact:

Re: Phương pháp viết test plan

Post by thaohuyen »

Cho em hỏi test plan có mấy giai đoạn ạh?



tvn
Admin
Posts: 4900
Joined: Tue 10 Aug, 2010 10:11 am
Location: HCM
Contact:

Re: Phương pháp viết test plan

Post by tvn »

thaohuyen wrote:Cho em hỏi test plan có mấy giai đoạn ạh?
Bạn tham khảo các mẫu kế hoạch kiểm thử - test plan sẽ biết cấu trúc của một test plan thế nào nhé



thaohuyen
Hoc Tester
Posts: 2
Joined: Sat 29 Oct, 2011 2:53 pm
Contact:

Re: Phương pháp viết test plan

Post by thaohuyen »

Da, em cam on ah.



phuongdt
Hoc Tester
Posts: 2
Joined: Thu 13 Oct, 2011 11:21 pm
Contact:

Re: Phương pháp viết test plan

Post by phuongdt »

Thanks :)



phuongdt
Hoc Tester
Posts: 2
Joined: Thu 13 Oct, 2011 11:21 pm
Contact:

Re: Phương pháp viết test plan

Post by phuongdt »

Thanks :)



tieuphong362
Hoc Tester
Posts: 1
Joined: Wed 19 Sep, 2012 9:19 pm
Contact:

Re: Phương pháp viết test plan

Post by tieuphong362 »

cam on vi tat ca nhe!



haont
Hoc Tester
Posts: 1
Joined: Sat 26 Mar, 2011 11:46 am
Contact:

Re: Phương pháp viết test plan

Post by haont »

Thanks bạn nhiều nhé.



Post Reply

Return to “Test Plans - Kế hoạch kiểm thử”