Looking at such a scene after 10 years of work, how to answer: How to test a cup for you?

It’s been twelve years since I started working in 2008. I got this Case today, and I reorganized my thinking. Everyone is welcome to criticize and correct me.

 

" A classic problem often encountered in software testing interviews is: how to test a cup, or how to test a pen. You are required to design more than 20 test cases.

Based on the experience of more than ten years of work, I will share how to deal with this type of problem more appropriately. Of course, it is not just an interview. When facing problem analysis and solving problems in real work, I also hope that everyone will follow this pyramid model. Way of thinking;

First of all, don’t dive into the details directly. Think about which aspects you should start with at a macro level. Start with the broad categories first, and then elaborate on the details under the broad categories. This way, whether it’s oral interview answers or written interview writing, Appears clear thinking and meticulous logic.

First look at the test object: the cup, purpose: test, the information is limited, if you can clarify the needs with the interviewer, such as the color of the cup, the scope of function (holding water or soil or toy model, etc.), size, etc. Wait, anyway, the more clear the requirements, the more targeted the test will be.

The following test points are sorted out in this way, for your reference, welcome to take a look at any inappropriate points.

1. Basic Function Test


Thinking about subdivision dimensions can start from the attributes of the cup itself as follows:

1.1: The functional purpose of the cup, if it is to hold water, then it must be tested for the condition of holding water, and secondly, it also includes the non-water condition test

1.2: The color of the cup, red, orange, yellow, green, blue, blue, purple, and so on

1.3: The capacity of the cup, the definition of the product is how many liters of the expected cup? Actually meet the demand

1.4: The material of the cup is required to be ceramic. A plastic hard-shell paper cup will definitely not work.

1.5: The shape of the cup, such as the requirement to be small in size, with a curvature in the middle, and the specific requirements are accurate to the error range of mm level, but the real product is indeed very different from the product demand.

2. Performance Test (Performance Test)


2.1: Service life, for example, it may be broken as many times as it can be used. Is there any index requirement?

2.2: Carrying capacity, for example, it is stipulated to hold water, but what is the situation if hot water and ice are installed, will there be abnormalities?

2.3: The ability to be affected by changes in the physical environment, such as whether the color of the outer layer is easy to wear and fade or the internal coating is easy to fall off.

2.4: The ability to be affected by changes in the chemical environment, such as whether there is abnormal chemical feedback after the cup is filled with acid or alkaline substances, etc.

2.5: Stress test, such as quickly adding water to it, will it break more easily?

 

3. User Experience Test (User Experience Test)


 

PS: The red mark here is to say that this is the key point and needs to be highly valued, otherwise the delivery of products that are truly valuable to users is not product delivery.

Here’s a key point to explain, whether software products or hardware products ultimately generate commercial value, but how to judge commercial value, and ultimately whether users really generate value, this requires users to vote, so user experience is very important If it is just a whimsical production product that completely ignores the user’s voice and ignores the user’s true feelings and experience, it is also undesirable.

3.1: How do typical users/target users evaluate this cup, whether it is good or bad, you can use research analysis from the overall dimension and the subdivision dimension, give conclusions, and then carry out product improvement and iteration

Four, internationalization and localization test ( Internationalization and Localization Test)


The internationalization mentioned here may not be involved in every product. If there is, it is also an aspect that needs to be considered. Here, I will focus on localization. Localization refers to how the product can be integrated into or accepted by local users. Here The factors to be considered are as follows:

4.1: Religious beliefs, products must not have elements that violate local religious beliefs

4.2: Customs, for example, we expect that this cup is for local users to drink water, but the local custom is to use the cup to water the flowers (the reality does not necessarily exist, just give an example)

5. Security Test (S ecurity  Test)


5.1: The safety consideration of the cup for people, such as whether it will cause harm to people, etc.

5.2: The safety of the cup itself, such as whether the cup is easy to crack or break, etc.

Six, authentication test (AutheticationTest)


6.1 Whether the cup needs to be certified by national standards, etc.

6.2 Does the cup need to be certified to international standards?

7. Legal Test (Legal Test)


7.1 Does the cup involve testing related to intellectual property rights? For example, the designer is directly involved in an unauthorized abrasive tool, but without authorization, this need is avoided in advance

The above are some of the major items listed above. You can subdivide and sort out the test cases. Of course, in the process of writing real use cases or in the process of testing, it is found that there are still omissions, which can be gradually supplemented and improved. One thing to keep in mind is: if there are omissions found in the later period, first take a macro look at whether there is an omission in a certain category, or a small category under the category as a whole, or an off-line omission, which is aimed at thinking. Vulnerability to fix the bugs of your own use case design, so that iteratively gradually, I believe that after several product cycles of training, even a novice who has worked for one or two years can be as thick and deep as ten years.

Anyway, learning is endless, keep learning, keep improving, continuous learning, continuous optimization, I believe we will always move forward with the script of the times. Say to yourself who is already thirty and will not stand for four to five years: Come on, boy, Fighting!

Guess you like

Origin blog.csdn.net/jinhoward/article/details/107074765