当前位置:网站首页>Experience and summary of embedded software testing
Experience and summary of embedded software testing
2022-06-22 03:51:00 【Play skill e family】
Preface
The article comes from playing skills e family -https://www.playezu.com/135818.html
The content of the article is I am In the past three years Embedded software test ( Black box ) Some accumulation on , It's fast to say , Three years after graduation passed , Worked in two companies ( Now this is the second ), The testing projects in recent years are basically around The embedded Software , At the same time, we need to take into account the test App End 、Web End function 、Web Back end interface (Postman), Just testing the business focus is still on Embedded Software . The article comes from playing skills e family -https://www.playezu.com/135818.html
Why? The tests are so complicated , In fact, all these add up to just one product , Just because I'm the only one to test right now , So the whole system is tested by me . The article comes from playing skills e family -https://www.playezu.com/135818.html
Take a video conference system made by my current company for example , The whole system includes hard terminals (Linux End )、App End 、Web End ( Used for background accounts / Conference management, etc )、PC End composition . The article comes from playing skills e family -https://www.playezu.com/135818.html
Come into contact with Embedded software testing All students should understand these things , Now let me talk about my research on embedded system in recent years software test Your understanding and opinions , Welcome to leave a message to supplement or discuss , Don't spray ~ The article comes from playing skills e family -https://www.playezu.com/135818.html
What is? Embedded system ? The article comes from playing skills e family -https://www.playezu.com/135818.html
Embedded system It's a kind of “ Completely embedded in the controlled device , Special purpose computer systems designed for specific applications ”. The article comes from playing skills e family -https://www.playezu.com/135818.html
Embedded system yes “ Used to control the , A device that monitors or assists in the operation of machines and equipment ”. The article comes from playing skills e family -https://www.playezu.com/135818.html
Embedded system It can also be defined as “ Application centric , Based on computer technology , Software and hardware can be tailored , function 、 reliability 、 cost 、 Volume 、 Special computer system with strict power consumption requirements .” The article comes from playing skills e family -https://www.playezu.com/135818.html
Embedded system It consists of embedded hardware and embedded software , Hardware is the support , Software is the soul . The article comes from playing skills e family -https://www.playezu.com/135818.html
Embedded system Classified by real-time performance , It can be divided into non real-time , Soft real-time and hard real-time . The article comes from playing skills e family -https://www.playezu.com/135818.html
Hard real-time means that the system has strict requirements on response time , If the response time cannot be met , It will cause system crash or fatal error ; Soft real-time performance means that the system has requirements for response time , But if the system response time cannot meet , Will not cause fatal errors or crashes in the system . The article comes from playing skills e family -https://www.playezu.com/135818.html
What is embedded software ?
Embedded software is based on Embedded system Designed software , It is a kind of computer software , It also consists of programs and their documents , It can be divided into operating system , Support software , There are three categories of application software , yes Embedded system An important part of . The article comes from playing skills e family -https://www.playezu.com/135818.html
The article comes from playing skills e family -https://www.playezu.com/135818.html
It is easy to understand that a set is installed with linux Systematic PCB Software on the board . like this : The article comes from playing skills e family -https://www.playezu.com/135818.html
Characteristics of embedded software : The article comes from playing skills e family -https://www.playezu.com/135818.html
· The kernel of the system is small The article comes from playing skills e family -https://www.playezu.com/135818.html
· Strong specificity The article comes from playing skills e family -https://www.playezu.com/135818.html
· The system is streamlined The article comes from playing skills e family -https://www.playezu.com/135818.html
· High real-time operating system The article comes from playing skills e family -https://www.playezu.com/135818.html
· Based on the complementarity of hardware and software The article comes from playing skills e family -https://www.playezu.com/135818.html
· Similarities and differences with commercial software testing The article comes from playing skills e family -https://www.playezu.com/135818.html
From the perspective of black box test . The article comes from playing skills e family -https://www.playezu.com/135818.html
The article comes from playing skills e family -https://www.playezu.com/135818.html
The same thing
The purpose and principle of embedded software testing and commercial software testing are the same , It's all about finding Bug、 track Bug、 verification Bug, Enable the product to realize the functions on the requirements document , Satisfy The user needs . The article comes from playing skills e family -https://www.playezu.com/135818.html
The article comes from playing skills e family -https://www.playezu.com/135818.html
Difference
Different test environments are required . The article comes from playing skills e family -https://www.playezu.com/135818.html
When testing embedded software , The environment you need to prepare is a complete set of equipment , It may contain a power supply 、 Ethernet cable 、 HD cable ( Various video transmission lines )、 Switch 、 camera 、 Microphone 、U disc 、 Routers and so on . The article comes from playing skills e family -https://www.playezu.com/135818.html
Testing commercial software may be an installation package , Or a test URL, What you need to prepare may be a computer or a mobile phone . The article comes from playing skills e family -https://www.playezu.com/135818.html
Test thinking is different ( In case of any problem, conduct self inspection first ). The article comes from playing skills e family -https://www.playezu.com/135818.html
The test thinking here does not mean design The test case The way of thinking you need , It's positioning Bug When , Thinking is different . The article comes from playing skills e family -https://www.playezu.com/135818.html
When testing embedded software , If a function cannot be realized , Maybe it's really a function implementation problem , It may be a memory problem , It may be a hardware support problem , It could be drive problem , It could be a network problem , It may be a hardware physical interface problem . The article comes from playing skills e family -https://www.playezu.com/135818.html
Although it seems that these problems have nothing to do with me , But if it's a hardware support problem , You throw Bug, After checking the hardware, you find that you can't support it according to your own specifications , It's not you who will be embarrassed ? The article comes from playing skills e family -https://www.playezu.com/135818.html
Another example POE If the network port does not have access support POE The Internet cable , Is it your unprofessional that caused the problem... Etc , Since we are Test Engineer , Then you should have the professional level of an engineer to complete the work . The article comes from playing skills e family -https://www.playezu.com/135818.html
When testing commercial software , The function cannot be realized , In most cases, we just throw Bug To develop , Incidental Bug Screenshot 、log And operation steps , It usually works well . The article comes from playing skills e family -https://www.playezu.com/135818.html
The article comes from playing skills e family -https://www.playezu.com/135818.html
The skills required are different
According to the test projects in recent years Experience , Discover the impact of embedded software testing on computer networks principle Is used more frequently . The article comes from playing skills e family -https://www.playezu.com/135818.html
When testing embedded software , You need to connect to the Internet 、 Network configuration 、 Access switch 、 Learn about network communication 、 data Transmission and so on …… The article comes from playing skills e family -https://www.playezu.com/135818.html
In other words, what you need for embedded software testing is ( Solid software testing theory and The test method + Basic knowledge of computer network ). The article comes from playing skills e family -https://www.playezu.com/135818.html
When testing commercial software , Because the environment is not too complex , There is little knowledge related to computer network , What is needed is often solid software testing theory and testing methods . The article comes from playing skills e family -https://www.playezu.com/135818.html
The characteristics and difficulties of embedded software testing : The article comes from playing skills e family -https://www.playezu.com/135818.html
· At present, the system resources are limited The article comes from playing skills e family -https://www.playezu.com/135818.html
· Closely related to the hardware system The article comes from playing skills e family -https://www.playezu.com/135818.html
· Diversified operation platforms The article comes from playing skills e family -https://www.playezu.com/135818.html
· Cross test mode The article comes from playing skills e family -https://www.playezu.com/135818.html
· Systematic Security sex 、 reliability 、 Correctness of system operation results, etc The article comes from playing skills e family -https://www.playezu.com/135818.html
The testing strategy of embedded software is very different from that of general commercial software . The article comes from playing skills e family -https://www.playezu.com/135818.html
The article comes from playing skills e family -https://www.playezu.com/135818.html
Some people may ask whether embedded software testing is difficult ? Which is more difficult than commercial software testing ?
I feel in the black box test , Embedded software testing is more difficult than commercial software testing , I only speak from the perspective of black box testing of Embedded Software . Why do you say that , For the time being, I can only think of the following points : The article comes from playing skills e family -https://www.playezu.com/135818.html
Different hardware platforms make the test more difficult , Because embedded software is closely related to hardware platform , In other words, the same set of software , If you migrate to another platform , You have to test it from beginning to end , The workload is larger than that of commercial software , The probability of mistakes will also increase , The corresponding test difficulty will also be improved a little . I came across a project that needs to run on two platforms . The article comes from playing skills e family -https://www.playezu.com/135818.html
The test environment makes the test more difficult , I can say for sure , The same set of equipment in A The environment operates normally , I just need to change a switch , Building a B Environmental Science , There is a good chance that Bug, Therefore, experienced embedded software testing students encounter customer complaints Bug When I first asked what the environment was , What are the devices , What are the operating steps ? If necessary, send all the equipment back for reproduction . The article comes from playing skills e family -https://www.playezu.com/135818.html
The performance of hardware platform makes the test more difficult , The chip performance of the hardware platform is certainly not as good as that of the computer CPU Hanging like this , So when it comes to testing , We often have some hardware performance problems, resulting in some Bug Epiphany , This is for our testers , Want to find an occasional Bug It's very difficult , Tools are needed to track the operation steps and print log. The article comes from playing skills e family -https://www.playezu.com/135818.html
External equipment makes the test more difficult , Basically, embedded software in life needs to be connected to other devices , For example, access to U disc 、 camera 、 Microphone and so on , When testing, if you find that a certain work cannot be realized , We need to consider from three aspects : The article comes from playing skills e family -https://www.playezu.com/135818.html
1、 Is it the function of the software Bug; The article comes from playing skills e family -https://www.playezu.com/135818.html
2、 The interface is not a physical problem ; The article comes from playing skills e family -https://www.playezu.com/135818.html
3、 Are the peripherals and software accessed agreement The test is more difficult due to problems or problems with the driver . The article comes from playing skills e family -https://www.playezu.com/135818.html
The last reason for the difficulty of testing is that embedded software testing is relatively independent of software testing , Relevant information is also relatively small , It's not like commercial software testing , Just a search , You can find test methods and some test articles . Embedded software testing is more of a real battle , The way of thinking of embedded software testing in each application site is different . The article comes from playing skills e family -https://www.playezu.com/135818.html
The article comes from playing skills e family -https://www.playezu.com/135818.html
ending
Testing is also a post with technical difficulties , Need to accumulate experience , The biggest difference between veteran testing and novice testing is that veteran testing can quickly locate and find Bug, Veteran testing can have more test methods and test strategies to find Bug, Have better test management experience and business ability . The article comes from playing skills e family -https://www.playezu.com/135818.html
I wish you all better and better on the road of testing , Come on together ! The article comes from playing skills e family -https://www.playezu.com/135818.html
边栏推荐
- Force buckle: implement a queue with two stacks
- Resources for all projects
- 【原理图和PCB】基于单片机的超声波测距仪设计
- 【BP回归预测】基于matlab GA优化BP回归预测(含优化前的对比)【含Matlab源码 1901期】
- Use yolov5 to train your own data set; Installation and use of yolov5; Interpretation of yolov5 source code
- Blazor University (31) form - Validation
- 倍福TwinCAT设置PLC的扫描周期,运行周期方法
- L'avenir est venu: l'âge du nuage
- 存算一体芯片离普及还有多远?听听从业者怎么说 | 对撞派 x 后摩智能
- Twitter如何去中心化?看看这十个SocialFi项目
猜你喜欢

动态规划-使用最小花费爬楼梯为例

基于51的超声波测距仪代码(截图版)

倍福TwinCAT3中PLC程序变量定义和硬件IO关联

Mqtt of NLog custom target

DM达梦数据的关键字与表的字段冲突的解决办法

Cloud native architecture (02) - what is cloud native

Interviewer: do you know the life cycle of flutter?

Introduction to Beifu TwinCAT NC PTP

A solution to the conflict between the keywords of DM data and the fields of the table

Flutter 颜色渐变及模仿淘宝渐变关注按钮
随机推荐
SSM住院管理系统
倍福 PLC 字符串类型string操作
Dart异步是怎麼實現
The difference between quick failure and safe failure
The following assertion was thrown during performlayout
Irregular naming
128 traps - source code analysis
Interviewer: do you know the life cycle of flutter?
倍福TwinCAT设置PLC的扫描周期,运行周期方法
PLC program variable definition and hardware IO Association in Bifu twincat3
Use yolov5 to train your own data set; Installation and use of yolov5; Interpretation of yolov5 source code
Wireshark数据包分析——wireshark0051.pcap
php判断当前时间有没有超过几点
Flyter color gradient and follow button imitating Taobao gradient
【第23天】给定一个长度为 n 的数组,返回删除第 X 位元素后的数组 | 数组删除操作
Twitter如何去中心化?看看这十个SocialFi项目
How to synchronize the oak camera?
Solend闹剧背后的「DeFi道德悖论」
云原生架构(02)-什么是云原生
Sword finger offer 68 - ii Nearest common ancestor of binary tree