Give you a sentence of requirements, how to split test points to design test cases

I saw a test interview question in the morning :

Requirement: "There is no difficulty in the world, and it is easy for people to worry about it", how to split test points to design test cases (requires listing test points)

That's right, now the test interviewer doesn't follow the routine anymore. Probably the cups and chairs from the past have been worn out, so the routine has been changed, but the method is basically the same.

1. Make an equivalence class division on the test points in the world

Enter the world and expect success

Enter the world, expect failure

Enter the world, expect failure

 2. Do equivalence class division for no test points

None, expect success

Yes, expect failure

 3. Difficult equivalence class division

difficult, expect success

Not hard, expect to fail

Not too hard, expect to fail

4. Make an equivalence class division for the mediocre test points

mediocre

laity

monk

man

woman

 5. Boundary value test for mediocre test points

newborn baby

dying old man

 6. Consider special people for the mediocre

pregnant woman

cellmate

 7. Do equivalence classes for self-disturbance

disturb oneself

disturb others

 8. Type test of interference

noise disturbance

light interference

sexual harassment

natural disturbance

 9. Test for disturbance source

hand disturb

disturb with a machine

10. Interference degree test

first-order interference

secondary interference

ultimate distraction

11. Persistence test for interference

disturb for 1 minute

disturb 1 day

1 full year

The idea is probably like this. I was a bit confused at first when I heard it, but later I found that it was mainly text translation, which is similar to the software we usually test.

It is said that the advanced state of testing is: give you a brick, and you can write hundreds of cases.

All I can say is, come on, there's still a long way to go

For more information on testing technology, please add QQ group test entry to Dashen 755431660 and we will make progress together~



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325553992&siteId=291194637