Embedded software test method based on combinatorial test
An embedded software and combined testing technology, applied in software testing/debugging, etc., can solve problems such as low test coverage and poor test efficiency, and achieve the effect of reducing the number and improving test efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0014] Specific implementation mode one: the following combination figure 1 Describe this embodiment, the embedded software testing method based on combination test described in this embodiment, the realization step of this method is:
[0015] Step 1, the software under test, referred to as SUT, defines the data communication protocol according to the interface type, data frame format, data element type, data element length and signal range information of the data element of the software under test; wherein, the data element The signal range is used as the basis for the test case generation of the software under test SUT;
[0016] Step 2. Construct a virtual model according to the requirements specifications and corresponding documents of the software SUT to be tested;
[0017] Step 3. According to the signal range of the data elements in the data communication protocol described in step 1, the combination test data generation algorithm based on the replacement disturbance is...
specific Embodiment approach 2
[0019] Specific implementation mode two: the following combination figure 1 Describe this embodiment. This embodiment will further explain Embodiment 1. In step 1 described in this embodiment, edit data according to the interface type of the device under test, the data frame format, the data element type, the length of the data element, and the signal range of the data element. The specific method of the communication protocol is:
[0020] First, formulate the overall structure of the data communication protocol according to the GJB5439-2005 bus protocol; the overall structure of the data communication protocol is a unified description of the data interface using a data block, data element, and data bit three-level data structure; the data block Including: specification number, signal name, version, type, source, destination, standard, transmission type, interrupt, system mode, word count, allowed rewriting, update cycle, allowed maximum delay, data element array, frame header...
specific Embodiment approach 3
[0024] Specific implementation mode three: the following combination figure 1 Describe this implementation mode, this implementation mode will further explain the implementation mode 1, the construction process of the virtual model in the step 2 described in this implementation mode is:
[0025] According to the requirements specification of the software, the virtual model constructed by using Matlab software, the specific construction process is as follows:
[0026] First, establish the basic model: use the simulink model development environment provided by matlab to establish the model file, and set the input and output parameters. The construction process of the virtual model abstracts the tested software SUT into an I / O model F:Y→U according to the function; Among them, F is the virtual model abstracted by the tested software SUT; Y is the vector space composed of all possible values of the input variables, U is the vector space composed of the output variables, and the ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com