Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

A software code automatic test method and test system

An automatic test system and software code technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as dependence on interface elements and operational process stability, save time and labor costs, and ensure development efficiency Effect

Pending Publication Date: 2019-03-01
OPPLE LIGHTING
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method strongly relies on the stability of the interface elements and the operation process. Any change requires the corresponding automated test code to be modified, and a large amount of automated test code needs to be written.

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
  • A software code automatic test method and test system
  • A software code automatic test method and test system
  • A software code automatic test method and test system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The software code automatic testing method and testing system proposed by the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0032] Please refer to figure 1 , figure 1 Shown is a schematic structural diagram of a preferred embodiment of the software code automatic testing system proposed by the present invention. The testing equipment system includes: a test operation module, a storage module and a judgment module.

[0033] Wherein, the test running module receives the software code developed by the developer through the input interface, and the test running module automatically runs the code after receiving the incoming software code, and generates a running log. The test running module includes an execution module and a log collection module. The execution module sends an operation instruction to the software execution unit, the software execution unit runs the software code and f...

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 a software code automatic test system, which is characterized by comprising a test operation module receiving software code, running the software code and generating operation log; a storage module storing a baseline log; and a judgment module used for receiving the operation log from the test operation module, reading the baseline log in the storage module, comparing the operation log with the baseline log, and outputting a test result according to a comparison result. According to the test system and the test method provided by the invention, cross-language and cross-function modules can be automatically tested from a single module to the whole system range through logs in a unified format, only codes need to be changed while printed logs are changed, and even theprinted logs do not need to be changed sometimes. According to the automatic testing method and system, time and labor cost are saved to a great extent, and therefore the development efficiency of intelligent products is guaranteed.

Description

technical field [0001] The invention relates to a software code automatic testing method and a testing system. Background technique [0002] With the popularity of the smart lighting market, the speed at which smart lighting products are required to be launched into the market is getting faster and faster. This speed requirement has a great impact on the quality assurance of smart lighting products when manpower and time resources are difficult to change in the short term. [0003] Existing automated testing methods generally fall into two categories: [0004] 1) Unit automated testing framework: Use a unit automated testing framework such as Junit, but each language has its own suitable implementation, such as Junit for the Java programming language and CUnit for the C programming language, which cannot be cross-language Do automated testing. Moreover, this kind of framework can only be limited to functional modules, and cannot do automated testing across functional modu...

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/3644G06F11/366
Inventor 周飞
Owner OPPLE LIGHTING
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
Eureka Blog
Learn More
PatSnap group products