当前位置:网站首页>Basic knowledge of software testing
Basic knowledge of software testing
2022-07-02 06:57:00 【Floating Life 882】
1. Divide the test type from the test phase
project ( The software product / Software product function version ) The development phase : ( Project life cycle : Abandon from the beginning of the project )
Demand survey -> Demand for design ( Product function design description )-> Technical design stage -> code -> test -> check before acceptance -> go online
unit testing :
Test process based on the smallest code module of the project ;
practitioners :
In the market, developers are basically responsible for executing unit tests by themselves ;
To achieve complete coverage of all cases or possibilities, unit tests , The unit test code is more than twice as much as the development function code
Integration testing :
The process of combining multiple units for testing
execution time :
The coding phase is carried out later ;
practitioners :
Back end code module integration , Testing based on the source code of future generations is still tested by development ;
Front and back end code integration , Self test by development , Testers can coordinate integration testing ;
The implementation of :
On the market 50% Functions do not perform integration tests
The system test
Developer , Version / All the developed codes of the project are packaged and submitted to the test for verification ( Stage )
In the process of system testing, testers can take various testing methods to test according to the requirements of the requirements
Manual testing
Performance testing
Compatibility testing
The acceptance test
After testing, the engineer submits the complete contents of the project to the product for acceptance ;
Person in charge of acceptance test : The product manager
Stage
Internal measurement :
Within the company . Release it to some external customers for experience ;
In use , Development and testing focus on whether there are problems in the internal testing process , If it is repaired in time ;
Internal test generally delete files ;
Public survey
Develop the system for external customers , Generally, there is no problem ;
Official release
After the public beta is stable for a period of time , Officially released to all customers for use ;
Now the company's conventional playing methods in the market :
1. Acceptance testing is generally the acceptance of product personnel in the simulation environment ;
Simulation environment : Use real online customer data to execute the test environment ;
2. In the form of grayscale release ;
Grayscale Publishing : Only a small number or designated customers can see the latest functions by using technical means ; Through this form to reduce the risk of problems ;
Responsibilities of Test Engineer :
Follow up whether there are defects in the acceptance process ( problem )
Be responsible for recording defects , And assigned to the developer of problem processing , At the same time, be responsible for verifying whether the problem is solved after repair ;
2. Divide from whether to view the source code
Black box testing
Pay no attention to the implementation of the code , Only focus on entering the specified data on the interface , The test process of whether the results presented by the page are correct ;
White box testing
The process of testing completely based on the code level ;
Perform unit tests ( A means of performing tests using code or tool code )
Use the code to check the coverage of the code written by the programmer
Grey box testing
Will touch some code , But I will also check the presentation of some data
What is tested is some interfaces provided by the background for front-end access ( route )
The interface test
3. According to whether it is divided
The static test
Test whether there are typos on the interface , Is the style correct , Is the alignment correct
Write relevant documents in the test project / Whether the description is correct and reasonable ( I can't do it for the time being )
For example, text ambiguity . The requirement description reveals
Delete the commodity data of the background management system , Pop up the window to confirm deletion , Click delete , Click Cancel reservation
Dynamic testing
Run the system to execute the test process
4. Divide according to whether it is automated
Manual testing
automated testing
Take the code , The process of testing the program with tools
5. The test strategy
Smoke testing :
After development and test , Only after smoke test can the system test be officially started
Smoke test mainly checks whether the core functions of this version are available , There is no lack of function
regression testing :
Defects found during the test , Retesting of defects after development and repair
Test the functions that have been launched in history
Randomness test
Exploratory testing
6. defects
Concept : Errors or problems found during the operation of the complete project or single function version
judge :
Implementation error
Not according to the product manual ( The requirements document .UI/UE Design draft ) Rules to implement functions ( Data error / Function error / Page display error, etc )
Multiple implementation
It realizes the functions required in the product specification ( Gild the lily )
Less realization
Omit the function or display clearly required in the product manual
By market business (IT Hidden rules for software quality in the industry ) Unrealized requirements ( Accumulated through practical work experience )
Software usability . Poor learnability ;
QQ Chat and wechat chat
Function buttons in a page cannot exceed 9 individual ;
7. The cause of the defect
Product requirements specification ( Requirements specification .UE/UI Design draft ) Explain the error , Input errors lead to incorrect implementation ;
Team developers , Testers , People in need ,UI The design has inconsistent understanding of requirements in the process of their respective implementation ;
Developers write code incorrectly ;
Software compatible with hardware or system software error ;
8. Type of defect
Compatibility error
Interface error ( Panel type of interface display . How , Style and UI The design draft is inconsistent )
Function error
Opinions and usability optimization
9. The test case
Concept : To verify specific rules , The function point , Execute the input in the pending condition , operation , Validation rule , Whether the function points are documented in accordance with the requirements
Explain what to test
Explain how to test the specified content

边栏推荐
- JS delete the last character of the string
- Fe - eggjs combined with typeorm cannot connect to the database
- Self cultivation of programmers - Reflection on job hunting
- In depth study of JVM bottom layer (IV): class file structure
- Win10桌面图标没有办法拖动(可以选中可以打开可以删除新建等操作但是不能拖动)
- [Zhang San learns C language] - deeply understand data storage
- Pytest (2) mark function
- 蚂蚁集团g6初探
- Huawei mindspire open source internship machine test questions
- JS to determine whether there is a value in the object in the array
猜你喜欢

Implement strstr() II

PHP Session原理简析

Wechat applet Foundation
![[Zhang San learns C language] - deeply understand data storage](/img/b5/cf0bfae8eacf335d3c350c9cbadb87.png)
[Zhang San learns C language] - deeply understand data storage

A preliminary study on ant group G6

CVE-2015-1635(MS15-034 )远程代码执行漏洞复现

In depth study of JVM bottom layer (IV): class file structure

sqli-labs通关汇总-page3

The default Google browser cannot open the link (clicking the hyperlink does not respond)

How to debug wechat built-in browser applications (enterprise number, official account, subscription number)
随机推荐
(the 100th blog) written at the end of the second year of doctor's degree -20200818
Cve-2015-1635 (ms15-034) Remote Code Execution Vulnerability recurrence
In depth study of JVM bottom layer (3): garbage collector and memory allocation strategy
20210306 reprint how to make TextEdit have background pictures
2021-07-19C#CAD二次开发创建多线段
js中map和forEach的用法
ts和js区别
默认google浏览器打不开链接(点击超链接没有反应)
Latex compiles Chinese in vscode and solves the problem of using Chinese path
There is no way to drag the win10 desktop icon (you can select it, open it, delete it, create it, etc., but you can't drag it)
Recursion (maze problem, Queen 8 problem)
Review of reflection topics
CTF three count
Win10网络图标消失,网络图标变成灰色,打开网络设置闪退等问题解决
Thread hierarchy in CUDA
The win10 network icon disappears, and the network icon turns gray. Open the network and set the flash back to solve the problem
Loops in tensorrt
PXC high availability cluster summary
看完有用的blog
UEditor .Net版本任意文件上传漏洞复现