当前位置:网站首页>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

The article comes from playing skills e family -https://www.playezu.com/135818.html
原网站

版权声明
本文为[Play skill e family]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220339241325.html