Common templates required for software testing

1. Test outline writing template

Chapter 1 Overview

           1.1 Purpose of writing

           1.2 Terms and abbreviations

           1.3 References

Chapter 2 Test Environment

           2.1 Hardware

           2.2 Software

Chapter 3 Testing Phase Techniques

Chapter 4   Test content and focus of the test

           4.1 Test overview: a general description of the test

           4.2 Record of test operation steps

Chapter 5   People and Time

Chapter 6 Test Schedule

Chapter 7 Document Submission Documentation

Chapter 8   Test Submission Documentation

2. Software test plan writing template

Chapter 1 Introduction

          1.1 Purpose of writing

          1.2 Project background

          1.3 Scope

          1.4 Test Summary

               1.4.1 Highlights

               1.4.2 Disputed Matters

               1.4.3 Risk assessment

               1.4.4 Time schedule

               1.4.5 Test objectives

          1.5 Submitted Test Documentation

          1.6 Explanation of terms

          1.7 References

Chapter 2 Overview of Testing Tasks

          2.1 Test objectives

          2.2 Test environment

          2.3 Overview of Requirements

                2.3.1 Describe the equipment needed to establish the test environment

                2.3.2 Describe the type of equipment required

                2.3.3 Purpose of equipment

                2.3.4 Describe the software deployed on each device

                2.3.5 Estimated Space for Accounting Third-Party Software and Applications

                2.3.6 The tools used in the test and their purpose.

          2.4  Test method

                2.4.1 Unit testing

                2.4.2 Integration testing

                2.4.3 System Test

                2.4.4 Functional test

                2.4.5 Data and database integrity testing

                2.4.6 Interface Test

                2.4.7 User Interface Testing

                2.4.8 Performance testing

                2.4.9 Load test

                2.4.10 Strength test

                2.4.11 Capacity test

                2.4.12 Security and access control testing

                2.4.13 Failover and recovery testing

                2.4.14 Configuration test

                2.4.15 Installation test

                2.4.16 Acceptance testing

                2.4.17 Document test

                2.4.18 Regression testing

Chapter 3 Test Plan

          3.1 Test plan

          3.2 Test items

          3.3 Test preparation

          3.4 Test progress

          3.5 Testing institutions and personnel

Chapter 4 Description of Test Items

          4.1 Test item name and test content

          4.2 Test Cases

          4.3 Test Schedule

          4.4 Conditions

          4.5 Test method

          4.6 Test criteria

          4.7 Test Cases

          4.8 Test data

Chapter 5 Evaluation

           5.1 Scope of evaluation

           5.2 Results of the evaluation

Chapter 6 Recording, Collation and Analysis of Test Data

Chapter 7 Review and Approver of Test Plans

3. Test task statement writing template

1 Overview

    1.1 Purpose of writing

    1.2 Project background

    1.3 Documentation required for writing a test task statement

2. Test tasks

3. Test quality

4. Test scope

     4.1 Process testing

     4.2 Boundary value test

     4.3 Fault tolerance test

     4.4 Exception testing

     4.5 Installation test

     4.6 Usability testing

     4.7 Interface Test

     4.8 Interface Test

     4.9 Configuration Test

     4.10 Performance Test

     4.11 Stress Test

     4.12 Compatibility testing

     4.13 Upgrade Test

     4.14 Functional test

     4.15 Unit testing

     4.16 Integration testing

     4.17 System Test

     4.18 Regression testing

     4.19 Acceptance testing

     4.20 Documentation Test

5. Determine test schedule and management

    5.1 Determine the test progress

    5.2 Management

6. Focus of test tasks

    6.1 Unit testing

    6.2 Integration testing

    6.3 System Test

    6.4 Acceptance testing

7. Test Notes

4. Template for writing test requirements specification

1. overview

       1.1 Purpose of writing

       1.2 Project background

       1.3 Definition of terms

       1.4 Document Conventions

       1.5 Test scope of the product

       1.6 References

2. Overview of Test Tasks

      2.1 Test objectives

      2.2 Operating environment

      2.3 Conditions and Restrictions

3. System Features

4. Data consistency and correctness testing

5. Use case description

6. Functional test requirements

7. Performance requirements test requirements

8. Run test requirements

    8.1 Running Test Requirements

    8.2 Hardware interface

    8.3 Software interface

    8.4 Communication interface

    8.5 Equipment

    8.6 Troubleshooting

9. Security testing requirements

    9.1 Safety facility testing requirements

    9.2 Security testing requirements

10. File Transfer

11. Data import and export test

12. Test Constraints

13. Regression testing required functionality

14. User Documentation Testing

15. Other specific requirements

5. Unit test writing template

1. overview

     1.1 Purpose of unit testing

     1.2 Background of the test

     1.3 Documentation required for unit testing

2. Main steps

    2.1 Program syntax check

    2.2 Program logic check

    2.3 Stub module inspection

3. Unit test project

    3.1 Module Interface Test

    3.2 Local data structure test

    3.3 Road test

    3.4 Boundary condition test

    3.5 Error Handling Test

    3.6 Code writing specification test

4. Unit test report

    4.1 Purpose of test report

    4.2 Test content

    4.3 Unit structure

    4.4 Testing process

    4.5 Testing

    4.6 Submit BUG test

    4.7 Unit Evaluation

    4.8 Fill out the form

5. Summary

6. Code review writing template

1 Overview

    1.1 Modules for code inspection

    1.2 Purpose of writing

    1.3 Documentation required for code inspection

2. Code inspection method

    2.1 Desktop inspection

    2.2 Walkthrough

    2.3 Code review

3. Code inspection items

    3.1 Directory file organization

    3.2 Check function

    3.3 Data types and variables

    3.4 Check condition judgment statement

    3.5 Check cycle system

    3.6 Check code comments

    3.7 Desktop inspection

    3.8 Other checks

4. Static structural analysis

5. Static mass

6. Quality metrics

    6.1 Quality factors (Factors)

    6.2 Classification criteria (criteria)

    6.3 Metrics

7. Analysis and evaluation of code inspection

    7.1 Capabilities

    7.2 Bugs and limitations

    7.3 Evaluation

7. Program bug report writing template

1. Purpose of bug reporting

2. Description of program error

     2.1 Function error description

     2.2 Interface class error description

     2.3 Data processing class

     2.4 Process error description

     2.5 Description of prompt information errors

3. Program bug report form

8. Programming writing template

1 Introduction

    1.1 Purpose     

    1.2 Definitions and abbreviations

    1.3 References

2. Coding style

    2.1 Program code should be written in indentation style

    2.2 Comments must be made when writing subroutines

    2.3 Blank lines must be added between relatively independent program blocks and after variable descriptions

    2.4 Longer statements should be written in multiple lines

    2.5 If there are long expressions or statements in statements such as loops and judgments, a new line should be divided at the low-priority operator, and the operator should be placed at the beginning of the new line

    2.6 If the parameters in the function or procedure are long, appropriate division should be made

    2.7 Write only one statement per line

    2.8 Statements such as if, for, do, while, and switch occupy one line, and parentheses should be added to the part of the execution statement

    2.9 Alignment only uses the space bar, not the TAB key

    2.10 The delimiter of the program block should occupy a single line

3. Notes

    3.1 The amount of effective comments in the source program must be more than 20%

    3.2 The head of the descriptive file should be commented

    3.3 The head of the source file should be commented

    3.4 The function header should be commented

    3.5 Write code with comments

    3.6 The content of the annotation should be clear, clear, and accurate in meaning to prevent ambiguity in the annotation

    3.7 Declaration of data structures

    3.8 Global variables should have more detailed comments

    3.9 Separate comments from the code above them with blank lines

    3.10 The definition of variables and branch statements must be commented

4. identifier naming

     4.1 The naming of identifiers should be clear, clear, and have definite meanings

     4.2 If special conventions or abbreviations are used in naming, there must be notes

     4.3 The naming convention must be consistent with the system style used

5. Readability

    5.1 Pay attention to the precedence of operators

6. Variables, structures

    6.1 Remove unnecessary public variables

    6.2 Carefully define and clarify the meaning, function, value range and relationship between public variables

    6.3 Clarify the relationship between the public variable and the function or process that operates the public variable

    6.4 When passing data to public variables, prevent unreasonable values ​​from being assigned or out of bounds

    6.5 Prevent local variables from having the same name as public variables

    6.6 The use of uninitialized variables as rvalues ​​is strictly prohibited.

    6.7 The design of the structure should consider forward compatibility and future version upgrades as far as possible

    6.8 Pay attention to the mandatory conversion of data types

    6.9 Naming Custom Data Types Appropriately

7. Functions, procedures

    7.1 Handle error return codes of called functions carefully and comprehensively

    7.2 Clarify function function

    7.3 When writing reentrant functions, attention should be paid to the use of local variables

    7.4 Clearly stipulate the legality check of interface function parameters

    7.5 Avoid naming functions with meaningless or ambiguous verbs

    7.6 The return value of the function should be clear and clear, so that the user is not easy to ignore the error condition

    7.7 The function itself is not called recursively

8. Testability

     8.1 In the same project group or product group, there must be a set of unified printing functions

9. Program Efficiency

    9.1 Always pay attention to the efficiency of the code when programming

    9.2 Improve code efficiency

    9.3 Minimizing the internal workload of the circulation

    9.4 Minimize loop nesting levels

10. Quality Assurance

      10.1 Code Quality Assurance Principles

      10.2 Only refer to its own storage space

      10.3 The memory allocated in the process/function must be released before the process/function exits

      10.4 Preventing Memory Operations Out of Bounds

      10.5 Initialize related variables and operating environment

      10.6 Do not change the interface with other modules at will

      10.7 Beware of confusing operators

      10.8 Pay attention to program machine code size

11. Code editing, compiling, reviewing

      11.1 Turn on all warning switches of the compiler to compile the program

      11.2 In the product software (project team), the switch options should be compiled uniformly

      11.3 Check the code by reading and reviewing the code

12. Code testing and maintenance

      12.1 Unit tests require coverage statements

      12.2 At the beginning of the unit test, each statement should be tracked, and the changes of data flow and variables should be observed

      12.3 Cleaned, tidied or optimized code is reviewed and tested

      12.4 Code version upgrades must be strictly tested

      12.5 Use tool software to maintain the code version

      12.6 Any modifications to the software should be well documented

13. Macros

      13.1 When defining expressions with macros, use complete parentheses

      13.2 Put multiple expressions defined by macros in braces

      13.3 When using macros, parameter changes are not allowed

9. Test case writing template

Chapter 1 Overview

Chapter 2 General Test Case Writing Template    

Chapter 3 Interface Test Case Writing Method

Chapter 4 Requirements Test Case Writing Template

Chapter 5 Path Test Case Templates

Chapter 6 Functional Test Templates

Chapter 7 Resilience Test Case Writing Template

Chapter 8 Fault Tolerance Test Case Writing Template

Chapter 9 Performance Test Case Writing Template

Chapter 10 Interface Test Case Writing Template

Chapter 11 Information Security Test Case Writing Template

Chapter 12 Stress Test Case Template

Chapter 13 Reliability Test Case Templates

Chapter 14 Install/Uninstall Test Case Templates

10. Software Review Writing Template

1. Software Evaluation Registration Form

2. Applicability evaluation form

3. Data management assessment

4. Organize cataloging evaluation

5. Search query evaluation

6. Auxiliary Entity Management

7. Security and confidentiality

8. System maintenance

9. Compatibility evaluation

10. Information processing speed

11. Ease of use

12. Fault tolerance

13. Safety and reliability

14. Software Documentation

15. Conclusion of overall software evaluation

11. Functional Test Writing Template

1 Overview

    1.1 Purpose of writing

    1.2 Project background

    1.3 Testing methods and strategies

    1.4 Test basis

2. Functional test test method and environment

    2.1 Test method

    2.2 Hardware equipment

    2.3 Software devices

3. Functional test content

    3.1 Function points of functional test

    3.2 Interface

    3.3 Data

    3.4 Operation

    3.5 Page turning function test

    3.6 Search function test

    3.7 Function logic

    3.8 Functional interface

    3.9 Functional constraints (or test boundaries)

4. Functional test results

    4.1 Functional test statistics

    4.2 Detailed results of functional tests

5. Functional safety

6. Ease of use of functions

7. Overall analysis of functions

8. Conclusion of functional test

12. Performance test writing template

1 Overview

    1.1 Purpose of writing

    1.2 Project background

    1.3 Testing methods and strategies

    1.4 References

2. Performance test method and environment

    2.1 Test method

    2.2 Hardware equipment

    2.3 Software equipment

    2.4 Test configuration

3. Performance test content

     3.1 Basic performance test

     3.2 Advanced Performance Testing

           3.2.1 Concurrency performance test

           3.2.2 Concurrency Test

           3.2.3 System resource monitoring test

           3.2.4 Speed ​​test

           3.2.5 Fatigue test

     3.3 Large data volume test (stress test)

4. Statistics of performance test results

    4.1 Test indicators of application software

    4.2 Test indicators of network environment

   4.3 Test indicators of the operating system environment

   4.4 Test indicators of the database environment       

5. Performance Test Conclusion

6. test work list

7. Approval of performance testing

8. Performance Test Report

13. Reliability Test Writing Template

1 Overview

    1.1 Concept of software reliability testing

    1.2 Software reliability testing process

2. Maturity Test Regulations

    2.1 Purpose of Maturity Test Regulations

    2.2 Implementation Rules for Maturity Test Regulations

3. Fault Tolerance Test Regulations

    3.1 Purpose of Fault Tolerance Test Regulations

    3.2 Implementation Rules for Fault Tolerance Test Regulations

4. Resilience testing requirements

    4.1 Purpose of Recoverability Test Specification

    4.2 Implementation Rules for Restorability Test Regulations

5. Fault Tolerance Test Regulations

    5.1 Specified purpose of fault tolerance test

    5.2 Implementation Rules for Fault Tolerance Test Regulations

6. Resilience testing requirements

    6.1 Resilience testing stated purpose

    6.2 Implementation Rules for Restorability Test Regulations

14. Integration Test Writing Template

1. introduction

       1.1 Purpose of writing

       1.2 Background

       1.3 Definition

       1.4 Integration testing tasks

       1.5 Integration Test Scope

       1.6 Integration Test Progress

       1.7 Integration Testing Risks and Contingency Planning

       1.8 References

2. Plan integration tests

       2.1 Develop an integration test plan

       2.2 Determine the test schedule and management

       2.3 The specific content of the integration test

             2.3.1 Functional testing

             2.3.2 Reliability Test

             2.3.3 Usability testing

             2.3.4 Performance test

             2.3.5 Maintenance test

             2.3.6 Portability testing

             2.3.7 Operational testing

             2.3.8 Fatigue test

       2.4 Design integration test cases

3. Implement integration tests

4. Evaluation of test results

5. Worklist for integration testing

6. approval

7. Fill out the integration test report form

8. Documentation provided by integration tests

15. System test writing template

1 Overview

    1.1 Purpose of writing

    1.2 Project background

    1.3 System Introduction

    1.4 Terms and abbreviations

    1.5 System Test Tools

    1.6 References

2. System test environment and configuration    

3. Main content and test types of system testing

    3.1 Main content of system test

    3.2 Test Types of System Tests

4. System Test Test Method

5. Analysis of system test results

      5.1 Test of system response time

      5.2 CPU test

6. System Test Summary

    6.1 Test time, place, personnel

    6.2 Test scope

    6.3 Work organization

    6.4 System test analysis

          6.4.1 System test statistics

          6.4.2 Summary of problems found in system testing

          6.4.3 Analysis of system test results

   6.5 System residual defects and unresolved problems

         6.5.1 System Residual Defects

         6.5.2 Unsolved problems in the system

7. System test conclusion

    7.1 System functionality

    7.2 Ease of use of the system

    7.3 System reliability

    7.4 System Compatibility

    7.5 System Security

8. Compilation of system instruction manual and maintenance manual

9. Evaluation and conclusion of system test results

    9.1 Evaluation of system test results

    9.2 Conclusion of system test results

10. System Test Documentation

11. Recommendations

12. List of testers

13. Accessories

16. Acceptance Test Writing Template

1 Overview

    1.1 Purpose of acceptance test

    1.2 Basic information of the project

    1.3 Acceptance Test Scope

2. Acceptance Test Organization Scheme

      2.1 Acceptance test time

      2.2 Test location

      2.3 Acceptance test environment

            2.3.1 Hardware

            2.3.2 Software

            2.3.3 Network

            2.3.4 Test tools

      2.4 Staff arrangement

3. Project progress review

       3.1 Project implementation progress

       3.2 Changes to the project contract

       3.3 Changes in project requirements

       3.4 Project investment settlement

4. Acceptance Test Plan

       4.1 Principles of acceptance testing

       4.2 Acceptance test method

       4.3 Acceptance test content

       4.4 Test results and defect analysis

       4.5 Documentation testing

             4.5.1 Main test content of the document

             4.5.2 Some documents involved in the testing process

5. Summary of project acceptance

       5.1 Summary table of project acceptance

       5.2 Details of project acceptance attachments

       5.3 Expert group acceptance opinion

6. Project acceptance conclusion

      6.1 Conclusion of the development unit

      6.2 Construction unit conclusion

7. Summary of acceptance results

8. appendix

      8.1 Attachment 1: Software Platform Acceptance Form

      8.2 Appendix 2: Functional Module Acceptance Form

      8.3 Annex III: Project Document Acceptance Form

      8.4 Annex 4: Hardware Equipment Acceptance Form

17. Test analysis report writing template

1 Overview

    1.1 Project Introduction

    1.2 Purpose of writing

    1.3 Definition of terms

    1.4 Test environment

    1.5 Arrangement and division of labor for testers

    1.6 References

2. Test content

    2.1 System Interface Requirements

    2.2 System Functional Requirements

    2.3 System Performance Requirements

    2.4 System Interface Requirements

    2.5 User Interface Test Report

    2.6 Functional test report

    2.7 Performance test report

    2.8 Interface Test Report

    2.9 Database testing

    2.10 Installation and uninstallation test

3. Problems found in the test

    3.1 Functional test non-conformity list

    3.2 List of performance test non-conformities

    3.3 List of non-conformities in interface tests

4. Analysis of test results

    4.1 Coverage testing

           4.1.1 Requirements Coverage

           4.1.2 Test coverage

     4.2 Defect statistics and analysis

           4.2.1 Defect Summary

           4.2.2 Defect Analysis

           4.2.3 Residual defects and unresolved problems

5. Test resource consumption

6. Analysis and Evaluation

    6.1 Capabilities

    6.2 Bugs and limitations

    6.3 Evaluation

7. Test conclusions and suggestions

    7.1 Test conclusion

    7.2 Recommendations

18. Test Summary Writing Template

1 Overview

    1.1 Purpose of writing

    1.2 Project background

    1.3 System Introduction

    1.4 Terms and abbreviations

    1.5 Test tools

    1.6 References

2. Test environment and configuration

3. Test Methods

4. test summary

     4.1 Test time, place and personnel

     4.2 Test scope

     4.3 Work organization

     4.4 Test Analysis

            4.4.1 Test statistics

            4.4.2 Summary of problems found in the test

            4.4.3 Analysis of test results

      4.5 Residual Defects and Unresolved Issues

            4.5.1 Residual defects

           4.5.2 Open Issues

      4.6 Test resource consumption

      4.7 Test conclusion

            4.7.1 Functionality

            4.7.2 Ease of use

            4.7.3 Reliability

            4.7.4 Compatibility

            4.7.5 Security

      4.8 Test Documentation

5. Suggestions

6. Accessories

19. Web Test Writing Template

1 Overview

    1.1 Purpose of writing

    1.2 Terms and abbreviations

    1.3 References

2. The focus of web testing and the main content of testing

    2.1 Web functional testing;

          2.1.1 Link test

          2.1.2 Form Test

          2.1.3 Data verification test

          2.1.4 Cookie test

          2.1.5 Database testing

          2.1.6 Permission test

          2.1.7 Application Specific Functional Requirements Testing

   2. 2 Web performance testing (including load/stress testing)

          2.2.1 Benchmark performance test

          2.2.2 Load test,

    2.3 Stability test

    2.4 Stress test, etc.

3. Web User Interface Testing

      3.1 User Interface Pages, Page Elements, and Fault Tolerance for the Web

            3.1.1 Is the page list complete?

            3.1.2 Whether the display of the page in the window is correct and beautiful

            3.1.3 Page special effects

            3.1.4 Are the page special effects displayed correctly?

      3.2 What should be paid attention to on page elements

            3.2.1 Web functions need to list buttons, radio boxes, check boxes, list boxes, hyperlinks, and input boxes

            3.2.2 Text, graphics and signatures of page elements

            3.2.3 Buttons, list boxes, checkboxes, input boxes, hyperlinks and other shapes and placement of page elements

            3.2.4 Basic functions of page elements Text effects, animation effects, buttons, hyperlinks

      3.3 What should be paid attention to in fault tolerance

      3.4 Contents of Web User Interface Testing

            3.4.1 Navigation Test

            3.4.2 Graphics Test

            3.4.3 Content Testing

           3.4.4 Table Test

           3.4.5 Overall Interface Test

4. Web Compatibility Test

      4.1 System platform test.

      4.2 Browser testing

      4.3 Resolution Test

5. Web Security Testing

     5.1 Directory setting test

     5.2 SSL test

     5.3 Login Test

     5.4 Log file test

6. Web interface testing;

      6.1 Server Interface Test

      6.2 External interface test

7. Hardware\software platform description

20. Software Security Testing Writing Template

1 Overview

    1.1 Purpose of writing

    1.2 Terms and abbreviations

    1.3 References

2. User authentication security test

3. System network security test

4. Database security testing

5. Software Safety Records

references:

" The Way of Google Software Testing "

Agile Software Testing: A Practical Guide for Testers and Agile Teams

The Art of Software Testing

" Software Testing Methods and Techniques "

Guess you like

Origin blog.csdn.net/zalman123456/article/details/132637057