当前位置:网站首页>Don't know how to interview? Test interview questions summary, teach you to face the interview questions
Don't know how to interview? Test interview questions summary, teach you to face the interview questions
2022-06-21 13:39:00 【Test on the road】
There are more learning materials and interview questions in the group 
More details are available here

How to make a test plan
The test plan includes test objectives 、 Test range 、 Description of the test environment 、 Description of test type ( function , Security , performance , stability )、 Testing tools 、 The division of modules 、 Test leader 、 Schedule of test execution rounds 、 The location of related documents in the document management library 、 The risk of testing . The module division needs to be allocated according to the tester's familiarity with the business and personal ability , The estimation of workload needs to be based on the experience of previous tests , Combined with the modification of this requirement , The test volume can be roughly estimated
What does a functional test case generally contain
Elements generally include : Use case number 、 Use case priority 、 Test purpose 、 The module it belongs to 、 Prerequisite 、 Test environment 、 input data 、 testing procedure 、 Expected results 、 Test scripts and other core elements : Use case priority 、 Test purpose 、 Expected results
APP Testing and web The difference between tests
Web The type of end test and mobile test are basically similar , All need functional testing 、 Performance testing 、 Safety test , They mainly distinguish web The end is usually b/s framework , browser-based ,app yes c/s framework , There are clients .
1、 From the perspective of system architecture :web Test as long as the server side is updated , The client will update synchronously ; And if it is app The server side has been modified , It means that all the core versions used by client users need to be regression tested again .
2、 Client performance :Web The client may only focus on response time ;App We should also care about traffic 、 Electric quantity 、cpu、 etc. ;
3、 Compatibility :Web Browser based , So it's more browser oriented (IE、Chrome、firefox) And computer hardware , Compatibility of computer system direction ;App The test has to rely on the phone or pad, It's not just the resolution 、 Frequency mesh size 、 It's important to look at the equipment system .
Find a bug, How to locate it is APP The problem of the end or the service side
1、 Caught analysis Through the client packet capture , Analyze whether the data returned by the server meets the expectation , If it's the right data server , That's the problem with the client
2、 Log analysis You can view the client by / Server log , Analyze whether there is abnormal log information , To determine the specific reason
What is polymorphism ? What are the benefits of polymorphism
Polymorphism is the ability of one behavior to have many different forms or forms . At the code level , Polymorphism means that a parent class reference points to a child class object .
such as , Parent class Animal, Subclass Dog, Subclass Cat
Animal animal1 = new Dog() Animal animal2 = new Cat()
There are three premises for polymorphism
1、 There should be inheritance
2、 Subclasses override parent methods
3、 The advantage that the parent class reference points to the subclass object polymorphism the appearance of polymorphism greatly improves the program's extensibility and the disadvantage of polymorphism
The parent class reference points to the subclass object , You cannot use subclass specific members and methods , If you want to access subclass specific members and methods , Must be converted down , Convert a parent class to a child class
drop、delete、truncate Differences among the three
All means delete , But there are some differences ,
Delete Used to delete all or part of a table's data rows , perform delete after , Users need to submit (commmit) Or rollback
(rollback) To perform deletion or undo deletion . Will trigger all the... On this table delete trigger
Truncate Delete all data in the table , This operation cannot be rolled back , It doesn't trigger triggers on this table ,TRUNCATE Than delete faster , It takes up less space ;
Drop Command to delete a table from the database , All the data lines , Indexes and permissions will also be removed , be-all DML Trigger will not be triggered , This command cannot be rolled back .
What do you think is the key to test case design
The key is to be familiar with the requirements , But the requirements can be divided into the following aspects
1、 Be familiar with the business requirements
2、 Be familiar with the relationship between other systems and this requirement
3、 Familiar with development design documents , Understand the development implementation logic
4、 Familiar with database design documents , Learn about data storage
5、 Familiar with project architecture , Discover hidden requirements
When developers say it's not BUG when , How to deal with it
Developers say it's not bug, Yes 2 In this case , First, the demand has not been determined , So you can ask the product manager for confirmation at this time , Do you need to change , We'll see if we need to change it . Second, it is impossible for this to happen , So there's no need to modify , At this time, you can say as much as possible is BUG What is the basis of ? If the user finds out or has a problem , What's going to happen ? Programmers may give you a lot of reasons , You can refute his explanation . If it still doesn't work , Then you can raise this question , Confirm with development manager and Test Manager , If you want to change it, change it , If you don't change it, don't change it . If in the end bug Determined not to change , Then record it in the test report , For future reference .
What's the difference between configuration and compatibility testing ?
The purpose of configuration testing is to ensure that the software can run normally on its related hardware , The compatibility test is to test whether the software can cooperate with different software correctly .
The core content of configuration test is to test the running condition of software with various hardware , Generally include :
1、 How software works on different hosts , for example Dell and Apple;
2、 How software works on different components , For example, the dialing program is developed to test the products produced by different manufacturers Modem On the operation of ;
3、 Different peripherals ;
4、 Different interfaces ;
5、 Different options , For example, different memory sizes ;
The core content of compatibility testing :
1、 Test whether the software can be compatible on different operating system platforms ;
2、 Test whether the software can be compatible with different versions of the same operating system platform ;
3、 Whether the software itself can be forward or backward compatible ;
4、 Test whether the software is compatible with other related software ;
5、 Data compatibility test , It mainly refers to whether data can be shared ;
Configuration and compatibility testing are very important for developing system software , For example, drivers 、 operating system 、 Database management system, etc . It is still executed according to the test case .
Is it possible to fully test the program ?
Software testing beginners may think that after getting the software, they need to do a full test , Find all the software bugs , Make software “ Zero defect ” Release . In fact, complete testing is impossible . There is one main reason :
- Full testing is time consuming , Time does not allow ;
- Full testing usually means more resources invested , This often doesn't work in reality ;
- Too much input , You can't test one by one ;
- Too much output , It can only be classified for verification ;
- There are too many ways to implement software ;
- There are no objective standards for software product specifications , From a different point of view , There are different standards for software defects ;
Therefore, the degree of testing should be determined according to the actual situation .
Briefly describe the whole process of test case design ?
Demand analysis + Maintenance of requirement changes ;
According to the demand Get the test requirements ;
Design a test plan , Review the test plan ;
After the scheme is reviewed and approved , Design test cases , Then review the test cases
What are the strategies for testing ?
Black box / White box , static state / dynamic , manual / Automatically , Smoke testing , regression testing , Public survey (Beta Test strategy )
What do you think is the key to do a good job in test case design ?
The key of white box test case design is to cover as many internal program logic results as possible with fewer use cases
The key of black box use case design is to cover module output and input interfaces with fewer use cases . It's impossible to do a full test , Find the most problems in a reasonable time with the least use cases
summary
边栏推荐
- 对app和微信小程序进行接口测试
- Highly available configuration of database (MySQL)
- 修修补补一时爽,果断重构有担当——聊聊CRM分布式缓存优化
- Heat mapping using Seaborn
- Detailed explanation and examples of common parameters of curl
- Sharing new experiences in home office | community essay solicitation
- Atguigu---- conditional rendering
- Visualization strategy of Seaborn data overall distribution
- seaborn数据总体分布的可视化策略
- 6. functions
猜你喜欢

Swift return button

Kube-prometheus grafana安装插件和grafana-image-renderer

IMU selection, calibration error analysis, AHRS integrated navigation

Kubernetes快速实战与核心原理剖析

Distributed transaction processing scheme big PK

PingCAP 入选 2022 Gartner 云数据库“客户之声”,获评“卓越表现者”最高分

Work content of service governance

基于STM32电压检测和电流检测

Is the live interactive function of the applet running in the app?

Automatic operation and maintenance 3 - using playbook in ansible
随机推荐
哪个期货平台 交易更安全放心。求推荐。
Is it safe to open a securities account by downloading the app of qiniu business school? Is there a risk?
Unbounded territory won the title of innovative brand of digital culture industry in 2022
Sharing new experiences in home office | community essay solicitation
如何编写测试用例
Automation operation and maintenance 1 - installation and deployment of ansible
Voltage detection and current detection based on stm32
Distributed transactions, simple in principle, are all pits in writing
Quelle plate - forme à terme est plus sûre. Je vous en prie.
居家辦公初體驗之新得分享| 社區征文
###数据库的高可用配置(mysql)
Apache shardingsphere 5.1.2 release | new driving API + cloud native deployment to create a high-performance data gateway
Are you still using generator to generate crud code of XXX management system? Let's see what I wrote
3D slicer import label and view label
基于STM32电压检测和电流检测
17 commonly used o & M monitoring systems
Kotlin - sequence sequence
May the mountains and rivers be safe
3000 frame animation illustrating why MySQL needs binlog, redo log and undo log
Convert DICOM format to nii GZ file