当前位置:网站首页>Some thoughts on software testing

Some thoughts on software testing

2022-07-01 14:42:00 Starry rain is sparse at night

  Catalog

1、 Test thinking I understand
2、 My understanding of work
3、 Engaged in software testing , What kind of abilities are needed ? How to go further
4、 What are some problems that are easy to encounter in the process of work ?
5、 Career planning of testers


Software testing is a post that has only begun to rise in recent years , I write some common questions here , I hope I can help you .

Friends who like software testing are welcome to communicate with me in private letters .

1、 Test thinking I understand

QA Value is reflected in the ability to catch anomalies that others cannot catch


for instance , Vote on company resolutions

1、 The pass rate is not reached , Then voting continues
2、 The opposition ratio reached ( 1 - P ) Then the voting ends
3、 The general manager exercised a veto

In this function , The anomaly lies in , Determine whether voting has ended , It is determined by looking for fields in the database

When you make a request , The database will not be verified


Thus, there are the following particularly tricky scenes

It's one vote away from passing the resolution
here , The employee and the general manager opened the voting interface at the same time

Then the general manager will first implement a veto , The vote is over

But the employee interface has not been refreshed ,【 Support 】 The button is still on the interface

Then the employee clicks 【 Support 】, It covers the result of one vote veto by the general manager

As for the consequences , Salary deduction is still a small matter , If heavy losses are caused by the resolution , More trouble

Here's another example , Baidu online disk uploads files to the cloud , Design test cases according to this function

(1) Account type
Account cancelled ; Normal use account ; Baidu online disk member users
(2) The choice of uploading files
Type of uploaded file 、 Number

Check ABC, The uploaded file is ABC

target file type ( Public folder / Private folder )
The file has been occupied by other processes in the operating system
(3) The size of the remaining space

There's plenty of room left 、 Insufficient

Insufficient situation , Batch upload , Enough to pass two , But not all
(4) Upload process
Pause many times to continue ; Network interruption ; During the uploading process, the online disk membership expires ;
In the process of uploading : Add transfer file
In the transmission list , Clear those that have not been uploaded 、 Uploaded 、 Uploading
In the operating system , Delete the files that have not started uploading 、 Uploading file ( Capture exception )
(5) Upload results
Prompt upload successful , Is really successful , Prompt failure, really fail

2、 My understanding of work

(1) Why software testing is needed ,QA What value can be created

QA The value created , As written in the part of testing thinking

Find some tricky user scenarios to test , Discover software defects

So as to improve the software quality

(2) The importance of interface testing , Not lower than interface testing , It is inconclusive who is important

The importance of interface testing is no longer described , Let's imagine , Button not available , Or display dislocation and so on

Interface testing is about system security , The most serious problem is that the interface exceeds its authority , Get the data that the current user does not have permission to access

3、 Engaged in software testing , What kind of abilities are needed ? How to go further ?

The most direct , We should agree QA The value of , from QA Value finds a sense of professional achievement

Because testing itself is also a boring job , Only oneself agree , To go further

Then it is also more core , Is to test thinking

A lot of people are new to the business , That is to say, we should engage in Automation 、 Do test development 、 Engage in penetration testing

first-class QA It doesn't mean mastering how advanced the testing framework is , Instead, you can find unexpected test corners of others

because Automation is only an auxiliary means of testing , It's a bonus , More important than bonus items , It is the thinking of solving problems

Besides , We should also constantly learn new technologies

(1) Testing tools

(2) The test framework ( Use automation to do things that are done repeatedly by hand )

(3) Test technique ( Use interface 、SQL Quickly create test data )

(4) Basic skills of computer ( For example, computer network 、Linux、 Microservice load balancing 、 Branch management )
(5) Basic skills of the test ( Write use cases )

We should also continue to accumulate experience

(1) Test thinking , Constantly accumulate some tricky bug, Good questions from others , Broaden your mind

(2) Ability to analyze influence surface , After the test , Quickly judge the influence surface , Improve test efficiency

(3) Evaluate the impact of version launch

There are also some general abilities in the workplace

(1) communication skills , Presentation skills , Ability to follow up problem solving

(2)100% Sense of responsibility , For every new feature , Every line of code is skeptical

4、 What are some problems that are easy to encounter in the process of work ?

(1) I don't think so bug, It's hard to fix

This is a very common problem , How to deal with the problem , I think there are many solutions

(1) Ask the product manager for confirmation , Let the product manager decide

(2) If there is no product manager , Manually evaluate bug Influence degree

( Number of groups , Frequency of use , severity , Repair bug The human cost of )

If none of the functions are used , Then no matter how perfect it is

If it is used frequently , Small optimization will also bring huge benefits

In addition, there is no need to make contradictions with development because of some problems , The relationship between colleagues is also very important

(2) Quality is difficult to control , Anxious to go online , Short test time

Only enough time can be left to test , If the time is too short , Have the right to refuse to put the test online

(3) It is difficult to communicate with developers , For the way to solve the problem , Easy to disagree

Same as the first point , Let the product manager decide , There's no need to waste time if you can't communicate

(4) How to deal with occasional bug problem

A lot of times ,QA The staff raised some occasional questions , The developer will not accept

This is a good question , Welcome to leave comments and discuss

(5) The test environment is difficult to test , It needs to be verified in the production environment

I'll add this later , I have something to do first

5、 Career planning of testers

This is also added later , Get busy first

In addition, you are welcome to discuss the software testing industry with me

原网站

版权声明
本文为[Starry rain is sparse at night]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/182/202207011429409153.html