Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Computer software testing thinking ability

2025-02-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Share what you have learned from the supervisor.

In the process of software testing, good test thinking ability is very important, which mainly involves the following training of test thinking ability:

● remember: the quality of your thinking determines the quality of your tests.

● began to make improving your testing thinking a high priority.

If ● wants to improve your test thinking, you must first know your test thinking.

● knows more about the way of thinking of good testers

● visualizes your testing process

● reviews your testing thinking through the testing process.

● analyzes your test depth and breadth

● identifies the strengths and improvements in your testing thinking by comparison.

● remember your improvement points and constantly consciously improve your testing thinking in testing practice.

1. Reverse way of thinking

● reverse thinking is often used in testing, for example, the equivalent class division of input conditions will be obtained by extrapolating the conditions according to the results.

In fact, ● reverse thinking is often used in debugging. When defects are found, further positioning of the problem is often carried out against the current and analysis.

● reverse thinking is relative, that is, thinking in the opposite direction to conventional thinking, testers can often use it to find loopholes in developers' thinking.

2. Rigorous and clear thinking

This should be the ability that most tests should have. Because of the responsibility of testing, testing is often the last hurdle of the whole product. If the logical thinking is not clear and rigorous enough during the test, it will inevitably make people feel that the test is not reliable.

3. Combinatorial mode of thinking

● has no problem thinking about many things alone, but many problems can be found when related things are combined together; for example, the concurrency of multiple processes increases the complexity of the program and increases the defect rate of the program.

● can be divided into arrangement (order) and combination (disorder) according to whether it is sorted or not. For different applications, we can consider using "arrangement" or "combination" as appropriate.

In order to make full use of combinatorial thinking without confusing oneself, ● should pay attention to "fractal dimension", divide the relevant factors into different dimensions, and then consider their relevance.

4. broaden the overall situation and broaden the divergent way of thinking

When designing use cases, the train of thought must be open and divergent, so that the coverage of test cases can be improved and the test quality can be guaranteed.

● things are often multi-faceted, when we master more aspects, the more clear our understanding of it, the more helpful for us to grasp its essence, the overall way of thinking is to let us analyze the system to be tested from multiple angles; try to look at the system in different roles and analyze whether it can meet the needs.

● in fact, we usually conduct various reviews in the process of software development, that is, with the help of global thinking, let more people participate in thinking, brainstorming, as far as possible to comprehensively review the correctness of a solution and other features.

5. Bipolar mode of thinking

● boundary value analysis is a model of bipolar thinking.

● in order to see the stability of the system, we used a stress test

● bipolar way of thinking, in extreme cases, to see if there are defects?

●, pay attention to two poles, not one pole.

● testers tend to go to extremes after working for a long time-occupational diseases, which is not conducive to communication with people * * ing software testing network

6. Simple way of thinking

● strips off some non-key features, pursues the essence of things, and makes things simple and only "fundamental".

● tests the nature of things (the nature of problem solving) so that we don't deviate from the direction.

7. Comparative mode of thinking

When ● understands things, people often compare them with certain concepts in their minds, find out the similarities, differences, or classify them, so as to add them to the knowledge system of the brain, and if possible, establish a good search method for later use.

● application pattern is a very common example of "comparative thinking". Now the pattern is very popular, including design patterns, architecture patterns, test patterns, and so on. Some experts have found solutions to the commonness of some related problems, which can be easily reused after naming them.

● makes experience work here. Experience is very important in testing. Comparative thinking is a way to use experience.

8. Dynamic thinking ability

● is concerned about the runtime status of the program

● 's traditional structure-based programs can more reflect how the future programs will run in the code, while object-oriented will significantly separate the code from the runtime.

● makes us focus on the static structure of code (such as class structure) as well as its dynamic (object interaction network) performance.

In fact, these ways of thinking are used consciously or unconsciously, and each of them has its own advantages, diverging our thinking and consciously using them to think about problems. sometimes it can give us the feeling of "turning a corner and having a village".

Finally, I would like to say that only knowing that these principles are of little significance, if we can really make them the blood of thinking, we can give full play to their real value. It really takes a lot of experience, in fact, to be a good tester is far from that simple, needs to be simple, needs (constant learning + constant experience + constant thinking).

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report