scholarly journals Test Automation Framework for Embedded Linux Testing

2021 ◽  
Vol 23 (06) ◽  
pp. 633-639
Author(s):  
Sahana K S ◽  
◽  
Maanas M D ◽  
M Govinda Raju ◽  
◽  
...  

Software testing is one of the most important steps before its official roll–out to the market. Testing of embedded software is a very complex, tedious, and time–consuming process. Manual execution of the test cases can pose a huge challenge to the test engineers in terms of the time consumed to execute and compile the results of hundreds of test cases. This paper presents a solution to automate the entire process of build and install of Board Support Package (BSP) using Jenkins, along with the automation of the testing process using Linaro Automation and Validation Architecture (LAVA). The proposed design is validated in a BSP testing environment to show the ease of testing using the framework mentioned in this paper.

Author(s):  
Srinivas Perala, Dr. Ajay Roy

Every product has defects and identifying defects in the process of development and rectifying them before the launch of the product is very important. Embedded software testing process find the bugs in the software and report to the developer to fix issues. Sometimes to meet the product release deadlines, test engineers will not get much time to cover all test cases. That is why most software testing depends on test automation. In this paper, we focused on the area of automotive and home appliances embedded software test automation. Test automation is the only solution to improve the test phase and meet the timeline of the product launch. There are many test Automation tools like LabVIEW, test stand, and automation desk to automate testing embedded software. However, there is still manual efforts are required to use these tools. This paper deals automate those manual efforts. This Works shows how to generate test scripts from test cases to reduce the manual efforts, time, and cost.


Author(s):  
Michal Sroka ◽  
Roman Nagy ◽  
Dominik Fisch

Abstract The article presents tCF (testCaseFramework) - a domain specific language with corresponding toolchain for specification-based software testing of embedded software. tCF is designed for efficient preparation of maintainable and intelligible test cases and for testing process automation, as it allows to generate platform specific test cases for various testing levels. The article describes the essential parts of the tCF meta-model and the applied concept of platform specific test cases generators.


2011 ◽  
Vol 271-273 ◽  
pp. 622-628
Author(s):  
Yi Chen Wang ◽  
Xin Sheng Lan

The paper is about the methods used in testing embedded software. It introduces the concepts of embedded software and the reason why test is so important for embedded software. The different kind of test environment and the quality features of test environment are manifested in detail in this paper too. Meanwhile, the three most common used testing environments are also analyzed completely here. Finally the paper tells why simulation testing environment is the ideal way for testing embedded software.


2010 ◽  
Vol 26-28 ◽  
pp. 405-410
Author(s):  
Yong Feng Yin ◽  
Bin Liu ◽  
Guo Qi Li ◽  
Zhi Wang

Embedded software testing is a hot topic in software testing field. It is a challenge to enhance the generalization, portability, and maintainability of embedded software testing environment (ESTE). In this paper, by applying virtual machine technology into embedded software simulation testing, a custom-build embedded software simulation testing virtual machine (ESSTVM) which is composed of data type, memory management, task management, communication, testing instruction set and testing files is presented firstly. And then, ESSTVM was applied in design of avionics software testing environment (ASTE). Based on the description of architecture of ASTE, the design and implementation of the testing development system and testing execution system are put forward. Practical application of ASTE in engineering shows that the method can improve the generalization, portability, and maintainability of ESSTE effectively. Next research steps are put forward to improve the real-time capacity and efficiency of testing execution system and extend it to be distributed.


Cybersecurity ◽  
2021 ◽  
Vol 4 (1) ◽  
Author(s):  
Yu Zhang ◽  
Wei Huo ◽  
Kunpeng Jian ◽  
Ji Shi ◽  
Longquan Liu ◽  
...  

AbstractSOHO (small office/home office) routers provide services for end devices to connect to the Internet, playing an important role in cyberspace. Unfortunately, security vulnerabilities pervasively exist in these routers, especially in the web server modules, greatly endangering end users. To discover these vulnerabilities, fuzzing web server modules of SOHO routers is the most popular solution. However, its effectiveness is limited due to the lack of input specification, lack of routers’ internal running states, and lack of testing environment recovery mechanisms. Moreover, existing works for device fuzzing are more likely to detect memory corruption vulnerabilities.In this paper, we propose a solution ESRFuzzer to address these issues. It is a fully automated fuzzing framework for testing physical SOHO devices. It continuously and effectively generates test cases by leveraging two input semantic models, i.e., KEY-VALUE data model and CONF-READ communication model, and automatically recovers the testing environment with power management. It also coordinates diversified mutation rules with multiple monitoring mechanisms to trigger multi-type vulnerabilities. With the guidance of the two semantic models, ESRFuzzer can work in two ways: general mode fuzzing and D-CONF mode fuzzing. General mode fuzzing can discover both issues which occur in the CONF and READ operation, while D-CONF mode fuzzing focus on the READ-op issues especially missed by general mode fuzzing.We ran ESRFuzzer on 10 popular routers across five vendors. In total, it discovered 136 unique issues, 120 of which have been confirmed as 0-day vulnerabilities we found. As an improvement of SRFuzzer, ESRFuzzer have discovered 35 previous undiscovered READ-op issues that belong to three vulnerability types, and 23 of them have been confirmed as 0-day vulnerabilities by vendors. The experimental results show that ESRFuzzer outperforms state-of-the-art solutions in terms of types and number of vulnerabilities found.


Mathematics ◽  
2021 ◽  
Vol 9 (15) ◽  
pp. 1779
Author(s):  
Wanida Khamprapai ◽  
Cheng-Fa Tsai ◽  
Paohsi Wang ◽  
Chi-En Tsai

Test case generation is an important process in software testing. However, manual generation of test cases is a time-consuming process. Automation can considerably reduce the time required to create adequate test cases for software testing. Genetic algorithms (GAs) are considered to be effective in this regard. The multiple-searching genetic algorithm (MSGA) uses a modified version of the GA to solve the multicast routing problem in network systems. MSGA can be improved to make it suitable for generating test cases. In this paper, a new algorithm called the enhanced multiple-searching genetic algorithm (EMSGA), which involves a few additional processes for selecting the best chromosomes in the GA process, is proposed. The performance of EMSGA was evaluated through comparison with seven different search-based techniques, including random search. All algorithms were implemented in EvoSuite, which is a tool for automatic generation of test cases. The experimental results showed that EMSGA increased the efficiency of testing when compared with conventional algorithms and could detect more faults. Because of its superior performance compared with that of existing algorithms, EMSGA can enable seamless automation of software testing, thereby facilitating the development of different software packages.


2021 ◽  
Vol 50 (3) ◽  
pp. 443-457
Author(s):  
Thamer Alrawashdeh ◽  
Fuad ElQirem ◽  
Ahmad Althunibat ◽  
Roba Alsoub

The regression testing is a software-based testing approach executed to verify that changes made to the softwaredo not affect the existing functionality of the product. On account of the constraints of time and cost, it isimpractical to re-execute all the test cases for software whenever a change occurs. In order to overcome sucha problem in the selection of regression test cases, a prioritization technique should be employed. On the basisof some predefined criterion, the prioritization techniques create an execution schedule for the test cases, sothe higher priority test cases can be performed earlier than the lower priority test cases in order to improvethe efficiency of the software testing. Many prioritization criteria for regression test cases have been proposedin software testing literature; however, most of such techniques are code-based. Keeping in view this fact, thisresearch work has proposed a prioritization approach for regression test cases generated from software specificationswhich are based on the criterion of the Average Percentage Transition Coverage (APTC) by using arevised genetic algorithm. This criterion evaluates the rate of transitions coverage by incorporating knowledgeabout the significance of transitions between activates in the form of weights. APTC has been used as a fitnessevaluation function in a genetic algorithm to measure the effectiveness of a test cases sequence. Moreover, inorder to improve the coverage percentage, the proposed approach has revised the genetic algorithm by solvingthe problem of the optimal local solution. The experimental results show that the proposed approach demonstratesa good coverage performance with less execution time as compared to the standard genetic algorithmand some other prioritization techniques.


Sign in / Sign up

Export Citation Format

Share Document