In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
0. Document introduction
Tip: please tailor this test case template according to the actual test status of the project.
0.1 document purpose 0.2 document scope 0.3 Reader object 0.4 references
Tip: list all references to this document (which can be informal publications) in the following format:
[identifier] author, document name, publishing unit (or attribution unit), date
For example:
[AAA] author, Project proposal, name of Organization, date
[SPP-PROC-ST] SEPG, system test specification, organization name, date
0.5 interpretation of terms and abbreviations
Abbreviations, terms
Interpretation
SPP
Streamlining parallel processes, Simplified Parallel Process
...
1. Interface-path test case 1.1 introduction of tested objects (units) 1.2 Test scope and purpose 1.3 description of test environment and test aids 1.4 Design of test drivers 1.5 interface test cases
Function prototype of interface A
Input / Action
Expected output / corresponding
Actual situation
Typical value...
Boundary value...
Outliers...
Function prototype of interface B
Input / Action
Expected output / corresponding
Actual situation
Typical value...
Boundary value...
Outliers...
...
1.6 Checklist for path testing
Check item
Conclusion
Data type problem
(1) is there any error in the data type of the variable?
(2) is there an assignment of different data types?
(3) is there a comparison of different data types?
Variable value problem
(1) is there any error in the initialization or default value of the variable?
(2) does the variable overflow or underflow?
(3) is the precision of the variable not enough?
Logical judgment problem
(1) is it ineffective due to accuracy?
(2) is the priority in the expression wrong?
(3) is the result of logical judgment reversed?
Cyclical problem
(1) is the condition for ending the cycle incorrect?
(2) can not be terminated normally (endless cycle)?
(3) modify loop variables incorrectly?
(4) is there error accumulation?
Memory problem
(1) is the memory used when it is not initialized correctly?
(2) does the memory continue to be used after it is freed?
(3) memory leak?
(4) is memory out of bounds?
(5) is there a wild pointer?
File Icano problem
(1) do you operate on files that do not exist or are incorrect?
(2) is the file opened in an incorrect manner?
(3) is the judgment of the end of the document incorrect?
(4) did not close the file correctly?
Error handling problem
(1) did you forget to handle the error?
(2) the error handler block has never had a chance to be run?
(3) is there something wrong with the error handler block itself? For example, the reported error is inconsistent with the actual error, the handling method is not correct, and so on.
(4) is the error handling block "hindsight"? For example, the software has made an error before it is called.
...
two。 Functional Test case 2.1 introduction of objects to be tested 2.2 Test scope and purpose 2.3 description of test environment and test aids 2.4 Design of test drivers 2.5 functional test cases
Function A description
Purpose of use case
prerequisite
Input / Action
Expected output / corresponding
Actual situation
Example: typical value …
Example: boundary value.
Example: outlier...
Function B description
Purpose of use case
prerequisite
Input / Action
Expected output / corresponding
Actual situation
……
3. Introduction of robustness Test cases 3.1 introduction of tested objects 3.2 Test scope and purpose 3.3 description of Test Environment and Test aids 3.4 Design of Test drivers 3.5 Fault tolerance / resilience Test cases
Abnormal input / action
Fault tolerance / resilience
Harm, loss caused
Example: wrong data type.
Example: define values outside the domain.
Example: wrong operation order.
Example: abnormal interruption of communication.
Example: an abnormal shutdown of a feature.
Example: the load exceeds the limit.
4. Performance Test case 4.1 introduction of tested objects 4.2 Test scope and purpose 4.3 description of Test Environment and Test aids 4.4 Design of Test drivers 4.5 performance Test cases
Performance A description
Purpose of use case
prerequisite
Input data
Expected performance (average)
Actual performance (average)
Performance B description
Purpose of use case
prerequisite
Input data
Expected performance (average)
Actual performance (average)
……
5. Introduction of graphical user interface test cases 5.1 introduction of tested objects 5.2 test scope and purpose 5.3 description of test environment and test aids 5.4 design of test drivers 5.5 classification of testers
Category
Features
Class A
Class B
……
5.6 Checklist for user interface testing
Check item
The categories of testers and their evaluation
Is it normal for windows to switch, move, and resize?
Is the text of the various interface elements correct? (eg title, hint, etc.)
Are the various interface elements in the correct state? (e. G. valid, invalid, selected, etc.)
Do various interface elements support keyboard operation?
Do various interface elements support mouse operation?
Is the default focus correct in the dialog box?
Can the data items be echoed correctly?
For commonly used functions, can users use them without reading the manual?
Are there any tips such as "confirm" and "abandon" when performing risky operations?
Is the operation sequence reasonable?
Is there any online help?
Is the layout of various interface elements reasonable? Is it beautiful?
Are the colors of the various interface elements coordinated?
Are the various interface elements beautiful in shape?
Is the font beautiful?
Is the icon intuitive?
...
6. Introduction of Information Security Test cases 6.1 introduction of tested objects 6.2 Test scope and purpose 6.3 description of Test Environment and Test aids 6.4 Design of Test drivers 6.5 Information Security Test cases
Imaginary goal A
prerequisite
Illegal means
Whether or not to achieve the goal
Cost-benefit analysis
……
Imaginary goal B
prerequisite
Illegal means
Whether or not to achieve the goal
Cost-benefit analysis
……
7. Stress test case 7.1 introduction of tested objects 7.2 test scope and purpose 7.3 description of test environment and test aids 7.4 Design of test drivers 7.5 stress test cases
Limit name A
For example, "maximum number of concurrent users"
prerequisite
Input / Action
Output / response
Whether it can operate normally or not
For example, 10 users operate concurrently
For example, 20 users operate concurrently
...
Limit name B
prerequisite
Input / Action
Output / response
Whether it can operate normally or not
...
8. Introduction of reliability test cases 8.1 introduction of tested objects 8.2 test scope and purpose 8.3 description of test environment and test aids 8.4 Design of test drivers 8.5 reliability test cases
Task A description
Continuous running time
The moment of failure.
Fault description
……
Statistical analysis
Average time interval for task A to run without failure
(CPU hours)
Minimum time interval for task A to run without failure
(CPU hours)
Maximum time interval for task A to run without failure
(CPU hours)
Task B description
Continuous running time
The moment of failure.
Fault description
……
Statistical analysis
Average time interval for task B to run without failure
(CPU hours)
Minimum time interval for task B to run without failure
(CPU hours)
Maximum time interval for task B to run without failure
(CPU hours)
9. Installation / anti-installation of test cases 9.1 introduction of tested objects 9.2 test scope and purpose 9.3 description of test environment and test aids 9.4 Design of test drivers 9.5 installation / anti-installation of test cases
Configuration description
Installation option
Whether the description is normal or not
Degree of difficulty in use
All
Part
Upgrade
Other
Reverse installation option
Whether the description is normal or not
Degree of difficulty in use
Appendix: review comments
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.