In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Title: given a number W with a wildcard question mark, the question mark can represent any one digit. Given another integer X, it has the same length as W. Ask how many integers match the form of W and are larger than X. Among them, the input format is multiple groups of data, each set of data has two rows, the first row enters W, the second row inputs X, they are the same length, and between [1. 10]. Output format: an integer per line represents the result.
How do you think about testing with such a description of requirements? How to analyze it? How to design? How to test?
How to implement the PDCA of the testing process? How to complete the PDCA curve for testing personal ability?
Through a small part to see the whole, analysis of the software testing process.
What is the requirement description?
Simplify complex problems: compare the size of two numbers.
Describe the problem in your own language:
1. Input multiple sets of W and X data, two rows of group data, the first row W and the second row X.
2. W, X two integers with the same number of digits (less than 10 digits)
3. W has a wildcard:?
4. Output the number of W > X, one integer result per line
Is there a problem?
1. The wildcard "?" in W Is there a limit on the number?
2. The command line implementation of the console? Or a graphical interface?
3. (more questions)
Test process implementation
Test and analysis
1. What is the core problem?
Compare the size of input data-how to simplify complex problems? How to grasp the core of the object problem?
2. Develop and realize the conjecture (build your own prototype)
1) Command line: input data-- > logical processing-- > output result
2) graphical: interface design-- > input data-- > logical processing-- > output result
3) logical processing: compare the size by bit and judge the number?
4) process-oriented? Facing the target?
3. What can go wrong?
1) data and data interaction module: input and output (can be integrated into interfaces: internal or external)
2) data logic processing module
4. Why did it go wrong?
1) data format handling exception
2) defects in core logic processing
5. What kind of problems will happen
1) Direct problem: incorrect output
2) indirect problem: the efficiency of problem handling
6. Test and analysis output
1) description of the core requirements
2) demand qualification
3) list of hypothetical questions
Test design
1. Priority of the test
1) Core logic processing
2) process restriction
3) the final realization form
2. Logical processing (test hypothesis)
1) judge the correctness and validity of W input-1
2) judge the correctness and validity of X input-- 1
3) compare W with X: >, =,
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.