Supercharge Your Innovation With Domain-Expert AI Agents!

Embedded software testing method based on grey box testing technology

A technology of embedded software and testing technology, which is applied in the direction of software testing/debugging, error detection/correction, instruments, etc., and can solve the problems of inability to effectively guarantee the reliability and security of the tested software, missed testing of functional requirements, and low test coverage and other issues to achieve the effect of ensuring consistency and uniformity, high functional safety level, and improving overall efficiency

Pending Publication Date: 2022-05-06
SHAANXI AUTOMOBILE GROUP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Black-box testing is also called functional testing. This type of testing method finds software defects according to the purpose and external characteristics of the software. The biggest advantage of black-box testing is that it does not need to understand the internal structure of the program. It only needs to design corresponding test cases according to the requirements. According to the output As a result, it is judged whether the function of the embedded program is correct; however, the test coverage obtained by the black box test is low, so that it is impossible to strongly guarantee that the tested software has good reliability and security
White-box testing, also known as structural testing, verifies whether the internal logical structure of the program is implemented correctly. Testers must understand the internal structure and processing flow of the software, and find software defects according to the internal structure of the program; white-box testing is closely related to software coverage , can perform coverage test on specific parts inside the program to obtain high test coverage; however, pure use of white box testing will result in the omission of testing of functional requirements and low testing efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Embedded software testing method based on grey box testing technology
  • Embedded software testing method based on grey box testing technology
  • Embedded software testing method based on grey box testing technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them.

[0051] Taking the gear switching module of an automobile as an example, the embedded software testing method based on the gray box testing technology of the present application is further introduced in detail.

[0052] Such as figure 1 As shown, the embedded software testing method based on gray box testing technology provided by this application includes:

[0053] Step 1. Test the software requirements and design documents, and statically review the software program;

[0054] Wherein, the test content specifically includes integrity test, consisten...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an embedded software testing method based on a grey box testing technology, which comprises the following steps of: testing software requirements and design documents, and statically examining a software program; determining a software test type and range, and analyzing and extracting software test requirements; the software test requirements are reviewed; designing a software test case by using a grey box test idea; and establishing a test environment and executing the software test case, and recording and storing a test result at the same time. According to the method, the unit test case is designed by using a grey box test idea, and a black box test case design method and a white box test case design method are organically integrated, so that the test case and the test data which can meet the design function and have a relatively high test coverage rate are finally designed; therefore, the tested product has a higher functional safety level.

Description

technical field [0001] The present application relates to the technical field of embedded software testing, in particular, to an embedded software testing method based on gray box testing technology. Background technique [0002] In recent years, the scale and complexity of embedded software have increased dramatically, especially in the fields of national defense, rail transit, automobiles, civil aviation, and industrial control, and users have stricter requirements on the quality of embedded software. tolerance is getting lower and lower. Therefore, how to effectively improve the quality of embedded software has become an urgent problem to be solved. [0003] As we all know, software testing is an important means to ensure high-quality, high-reliability software, especially for embedded software. Commonly used testing techniques for embedded software testing include: black-box testing techniques and white-box testing techniques. Black-box testing is also called function...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3608G06F11/3684G06F11/3692
Inventor 王杨段宁璐何祥王钊
Owner SHAANXI AUTOMOBILE GROUP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More