Automatic test method based on embedded software simulator

A technology of automated testing and embedded software, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve problems such as unproposed solutions, low efficiency of debugging target software, injection time deviation, etc., and achieve efficient debugging Effect

Active Publication Date: 2019-01-15
康烁
View PDF10 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, the embedded software emulators on the market can only manually control the emulator software in the process of testing the target software, such as manually executing the start and stop of the program; Numerical values ​​or injecting faults into certain memory addresses to test and observe system execution behavior can only be achieved through manual modification by the tester; and if you want to test the software through fault injection at a specific moment, human operations are often inaccurate Controlling the time will lead to deviations in the injection time and affect the test results. There are defects in the low efficiency and cumbersome operation of testing the target software through artificial control.
[0003] Aiming at the problems of low efficiency and cumbersome operation of the embedded software emulator to debug the target software existing in the prior art, no effective solution has been proposed in the prior art

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
  • Automatic test method based on embedded software simulator
  • Automatic test method based on embedded software simulator
  • Automatic test method based on embedded software simulator

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Hereinafter, implementations of the embedded software emulator-based automated testing method of the present invention will be described with reference to the accompanying drawings.

[0017] The implementations described here are specific specific implementations of the present invention, and are used to illustrate the concept of the present invention. They are all explanatory and exemplary, and should not be construed as limiting the implementation of the present invention and the scope of the present invention. In addition to the embodiments described here, those skilled in the art can also adopt other obvious technical solutions based on the claims of the application and the contents disclosed in the specification, and these technical solutions include adopting any modifications made to the embodiments described here. Obvious alternatives and modified technical solutions.

[0018] The accompanying drawings in this specification are schematic diagrams to assist in exp...

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

An automated test method based on an embedded software simulator comprises the following steps: step S0, creating an automated test script module to prepare for test requirements; Step S1: according to the function provided by the emulator API module, the test logic conforming to the software under test is written in the automated test script module, the emulator API module includes address bus read and write, register read and write, memory read and write, program breakpoint, conditional breakpoint, symbol table, emulator control, simulation time, simulation timer, and / or trigger interrupt. 2, loading the automated t script module into the simulator software; 3, starting the emulator software and executing the automate test script module; S4, verifying the correctness of the code logic ofthe automated test script module and making adjustment and modification; 5, if that step S4 is passed, executing and operating the embedded software automation test through the automation test scriptmodule; Step S6: the test is complete. Makes program debugging controllable, changeable, and quick to locate program logic errors.

Description

technical field [0001] The invention relates to an automated testing method for computer software, in particular to an automated testing method based on an embedded software emulator. Background technique [0002] At present, the embedded software emulators on the market can only manually control the emulator software in the process of testing the target software, such as manually executing the start and stop of the program; Numerical values ​​or injecting faults into certain memory addresses to test and observe system execution behavior can only be achieved through manual modification by the tester; and if you want to test the software through fault injection at a specific moment, human operations are often inaccurate Controlling the time will lead to deviations in the injection time and affect the test results. There are defects of low efficiency and cumbersome operation in testing the target software through artificial control. [0003] Aiming at the problems of low effi...

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/3644
Inventor 康烁
Owner 康烁
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products