The method of testing the software under test on the linux side based on the testing tool on the windows side

A technology of software under test and testing tools, which is applied in the field of testing software under test on LINUX side based on WINDOWS-side test tools, to achieve the effect of expanding the scope of application and simple configuration

Active Publication Date: 2020-11-20
北京轩宇信息技术有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in engineering practice, some tested software can only be compiled in the LINUX environment. Unit testing of these software requires the purchase of a separate unit testing tool in the LINUX environment, which requires both additional financial support and a certain procurement cycle.

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
  • The method of testing the software under test on the linux side based on the testing tool on the windows side

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Such as figure 1 Shown, the present invention is based on the WINDOWS end test tool testing LINUX end tested software method, revises the LINUX end remote access configuration file by the configuration file sharing unit and the remote access unit, maps the LINUX end to store the tested software path as a network disk, and sets the test input Data and expected result data, modify the compilation unit of the WINDOWS test tool, read the tested software on the LINUX side through the network disk letter, remotely execute the compilation and execution instructions on the LINUX side by modifying the compilation unit, and read the test result file through the network disk letter, Comparing the test result file with the expected test result, and performing statement coverage and branch coverage analysis on the test result file. The content of the compilation and execution instruction is to call a compiler to compile and execute the software under test and generate a test result ...

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 discloses a method for testing tested software of a LINUX end on the basis of a test tool of a WINDOWS end. The method includes the steps of firstly, configuring a file sharing unit anda remote access unit on the LINUX end, then modifying a configuration file on the LINUX end so that a computer of the WINDOWS end can run instructions of a computer of the LINUX end, and mapping a network disk through a resource manager on the WINDOWS end so that the test tool of the WINDOWS end can access to the tested software and a test result file of the LINUX end through hard disk characters. The method has the advantages of simple configuration and no influence on the basic flow of the test.

Description

technical field [0001] The invention relates to a method for testing software to be tested on a LINUX end based on a WINDOWS end test tool, which is suitable for unit testing of C language embedded software running in the LINUX environment. Background technique [0002] Software unit testing is a basic content of software testing. In areas with high security requirements such as aerospace and aviation, higher requirements are put forward for software unit testing (such as statement coverage and branch coverage reaching 100% on the basis of satisfying functional correctness, etc.). [0003] At present, there are many types of software unit testing tools, but all of them only support one operating environment, that is, either run under the WINDOWS environment, or run under the LINUX environment. Due to the generality of the environment, etc., most of the software unit testing tools used by various units are based on the WINDOWS operating environment, and the unit testing tool...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3692
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