当前位置:网站首页>After a few years in the testing industry, do you still know a little?

After a few years in the testing industry, do you still know a little?

2022-06-24 20:59:00 Programmer Xiaofan

The test is more than a little

I feel that I am a person who has a voice , I'm in the testing industry 5 year , I used to hear developers say to me , Every little bit of fun

and IT Students outside the circle 、 Friends talk about their work , I often say I'm a test , It will also be despised by everyone , Someone will always ask you , Why do you test , Why not do development ? Undeniable? , In their hearts , You must be incompetent , Not competent for development , So I can only do ordinary 、 Boring testing work . But my experience tells you , Testing is not just a little bit ... As long as you are willing to work hard

Getting started with automation

I have interviewed many fresh students , Their answers were frank

“ I'm not very good at , Test first , There will be opportunities to turn to development in the future ”.

The test is a little bit , So I pulled the administrative sister a little bit … So that everyone felt , Cats and dogs can do tests .

Personally feel , The prospect of testing is not bad , As long as you are willing to work hard ; When I first came out, I did the outsourcing function test in the goose factory , A little bit every day , Very leisurely , I ordered it for two years , I found that it would waste , And then you start to learn python,java, Learn to do automated testing .

At the entry stage , Have strong self-control , I learned some fur later , Change jobs to another company , Usually easier to learn , When I work overtime or have no projects to do, I will read by myself , Learn to type code , Lucky to be appreciated by the leaders , Was sent to training for a month , There is someone to take , Then come back and take the company app I was given the automation of , This is the real entry Automation

Test Development

Then I began to think about it myself , Copy someone else's frame , Then he changed jobs and went to a financial company , Full time automation , The person in charge of automation here comes from bytes , A bad , Then in that company, I tried my best to learn from him , The emperor is willing to help others , in the course of time , I found that I can basically read the interview questions , From the beginning of primary to the present advanced , Now I go to the new company to do interface automation , Then develop a test platform ( Suddenly found that , I still set foot in a wide range ). Kind of proved himself ......

If you haven't tried hard, don't say that the testing industry has no future .

ad locum , I write down my understanding of functional testing here , I hope it can give you a sense of direction !

One 、 Skillfully use SQL

  • frequently-used sql Statements must be written . For example, add, delete, modify and check .
  • Understand database transactions 、 Write stored procedures 、 Familiar with common system functions .
  • Understand and be able to backup the database 、 transfer 、 Restore 、 Mirror and so on
  • Yes sql Statement to tune , And you can monitor the running statements to see their performance
  • Understand database cluster and other operations .

Two 、 Linux

Linux It is the basic skill of testers , You don't need to master something that's too difficult or unusual Linux command , You can check the log normally , The positioning problem is OK .

1、 Basic commands

frequently-used Linux Basic commands , Interview often ask , Or give a scenario , Ask what command you use .

2、 Check the log

Junior testers often encounter , Find out bug, Situations that developers do not recognize or are unwilling to solve , How can testers get rid of this problem ?

That's what we found bug According to the log level , To check the log , Location problem .

The specific log levels are divided into four levels :

  • info : Code info Information , barring sql Sentences and so on debug Information
  • warning warning : Code warning message error :
  • The program itself reports an error message java.lang.outindexERROR…
  • critical : Hardly use

Generally, it doesn't meet the demand bug stay debug in , The program itself reports an error bug stay error in .

3、 ... and 、 Using a database , Follow the data flow

1、 The essence of database

Common databases are MAYSQL、ORECAL、Redis

among Mysql Database is a typical relational database

2、 Database operation

(1) Database and table operations

(2) Table data operation

(3) complex sql Inquire about

Four 、 Write test cases

What test cases must contain :

Use case number 、 Use case name 、 Test background 、 precondition 、 priority 、 Importance level 、 Test data 、 testing procedure 、 Expected results 、 The actual result 、 remarks .

1、 Test case writing process

Demand analysis -> Extract test points -> Test case writing -> Test case review

2、 The idea of writing test cases

(1) According to the product RPD, Extract test points .

(2) According to the direction of data flow .

(3) Deploy according to your architecture .

(4) Common methods of writing test cases : Division of equivalence class 、 Boundary value analysis 、 Flow chart method, etc .

(5) Coverage weak network test 、 The interface test 、 Security testing 、 Performance test, etc .

(6) Common test tools are :Postman、 Charles、 Fiddler 、Jemter、Loadrunner etc. .

3、 Considerations for writing test cases

(1) Design test case table according to the actual situation of the project

(2) Don't copy the use case format mechanically

(3) Prepare according to the specific situation

(4) Learn to question needs , Don't write test cases exactly according to requirements , Understand requirements from the perspective of customers and products , See functions and experiences beyond the needs

5、 ... and 、 http And https agreement

Interviews are often about Http The following issues of the agreement

  • Http Protocol principle
  • http and http The difference between agreements
  • TCP and UDP The difference between
  • session and token The difference between
  • Understanding of public and private keys
  • get and post The difference between
  • From input URL What happened to the page load
  • What is an agent , Forward and reverse proxies ?

6、 ... and 、 Know the business

After getting familiar with the business , Will know a lot of common sense , After knowing the following common sense , You can try advanced , Learn to do automated tests 、 The interface test 、 Performance testing

  • When to intervene in Automation => When your system becomes stable
  • When to intervene in interface testing => When the interface is developed
  • When to intervene in performance testing => When there's a promotion , Or rush to buy (618 Great promotion , Grab train tickets for the new year , Grab coupons )

for instance ,5000 Zhang coupons , About how many people robbed , How long will it take to finish .

7、 ... and 、 bug management

Do a function test , Another important job is bug management , An excellent Tester , on-line bug A lot , More than other colleagues you work with , But online bug Very few , Less than other colleagues .

1、 bug Definition

(1) Not meeting the requirements

(2) The program itself reports an error

(3) Not in line with the user's usage habits

2、bug Life cycle

When we testers submit a bug When , From the beginning bug There is its life cycle , From start to end .

3、 Test report

Document the test process and results , Analyze the problems and defects found , Provide the basis for correcting the quality problems of software , At the same time, it lays the foundation for software acceptance and delivery. The test report is the same as the test plan , Generally, it is tested by leader To write , Testers need to know what is in the test report .

8、 ... and 、 A typical bug

1、 Bag grabbing effect : Test one app Search function , Grab the bag , Catch a search interface , I suddenly found that I caught two request interfaces -> When the traffic comes up , The pressure of service has tripled

2、 Trend of data flow  : During the test, I found that there was only one piece of data on the page , But there is one more in the database -> 1、 Data volume increases , Queries slow down 2、 Too much dirty data , Instant full , The program crashed

3、 Weak network test :app The project must have weak network testing ( simulation 2g、3g、4g,wifi Network status and packet loss ); Network switching test ( Disconnect the network and reconnect 、3g Switch to 4g/wifi etc. )

When learning the theory of software testing, we should learn to collect various resources , I also sorted out a lot of relevant learning resources for you , All types ,, There is not only dry goods information in it , And video explanation , We can discuss the promotion together ~

  

summary

It's not easy to do a good job of functional testing . I did two years of Internet function test , I still don't understand a lot of knowledge , Just keep learning , You can become a talent by yourself .

Many people can't do well in functional testing , Just want to do performance testing 、 automated testing , It's actually aiming high , I think the foundation has been laid , Go to study again , It must get twice the result with half the effort !

Finally, for the convenience of everyone to learn the test , I specially prepared a 13G Super practical dry goods learning resources , The content involved is very comprehensive .

  Include , Software learning Roadmap ,50 Video of class for many days 、16 It's a real assault project ,80 More than one software for testing ,37 A test document ,70 A software testing related problem ,40 Test experience level article , Thousands of test questions to share , also 2021 Software testing interview Dictionary , There's also a selection of resumes for software testing jobs

The last sentence is for you : Opportunity favors only those who are prepared , This is a society that depends on its ability . occasionally , The reason why you don't develop well , It's not because there's no opportunity , It's because you're not ready , Lead to opportunities passing you by .

Come on! , Tested by ! The road is at the foot , Success is tomorrow !

原网站

版权声明
本文为[Programmer Xiaofan]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202211323541452.html