Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

99 results about "White-box testing" patented technology

White-box testing (also known as clear box testing, glass box testing, transparent box testing, and structural testing) is a method of software testing that tests internal structures or workings of an application, as opposed to its functionality (i.e. black-box testing). In white-box testing an internal perspective of the system, as well as programming skills, are used to design test cases. The tester chooses inputs to exercise paths through the code and determine the expected outputs. This is analogous to testing nodes in a circuit, e.g. in-circuit testing (ICT). White-box testing can be applied at the unit, integration and system levels of the software testing process. Although traditional testers tended to think of white-box testing as being done at the unit level, it is used for integration and system testing more frequently today. It can test paths within a unit, paths between units during integration, and between subsystems during a system–level test. Though this method of test design can uncover many errors or problems, it has the potential to miss unimplemented parts of the specification or missing requirements.

Automated testing method and system based on Android and mobile terminal

The invention is suitable for the technical field of communications and provides an automated testing method and system based on Android and a mobile terminal. The invention has the following beneficial effects: a coordinate of at least an interface element of the tested program is firstly obtained, a simulated operation instruction can be still sent to some interface element of the tested program according to the coordinate of the interface element even though a system and the tested program do not belong to the same process so as to carry out out-of-process automated testing, thus the coverage of testing of the tested program is wider; white box testing is not needed for the automated testing technology, thus effectively ensuring security of program codes; and in addition, the man-machine interaction function is completely simulated by adopting the technology, thus reducing the program development cycle, reducing the human capital for test development and improving the testing efficiency.
Owner:DONGGUAN YULONG COMM TECH +1

Automatized white box test system and method facing to WEB application

The present invention provides an automatic white box testing system faced to Web and method, including a Web data collecting module, automatic saving data information submitted by tester on the viewer as Web solicited message data file and adding action information in, generating initial testing data file; a script generating module, generating testing script according to the initial testing data file; a data generating module, describing file by compiling a business, describing logic sequencing of test case, automatic repairing initial testing data file, generating testing data file; an integrated testing module, coupling multiple test cases according to the logic sequence of describing file.
Owner:罗笑南

Black Box Testing Optimization Using Information from White Box Testing

Testing a computer software application by identifying a sink in the computer software application, identifying a source associated with the sink in the application, identifying an entry point associated with the source in the application, where the source is configured to receive input provided externally to the application via the entry point, determining a sink type represented by the sink, and providing to a testing application information identifying the entry point and in association with the sink type.
Owner:IBM CORP

Vehicle-borne display device comprehensive testing device and testing method

The present invention discloses a vehicle-borne display device comprehensive testing device which comprises a testing master control machine for managing a test case and analyzing a testing result, a man-machine interface testing module which is connected to the testing master control machine, simulates a man-machine interaction screen touch operation according to the test case, obtains the output image of a tested display device, and analyzes the man-machine interaction display function and reliability of the tested display device, a communication interface testing module which is connected to the testing master control machine, monitors the operation state of the tested display device and analyzes the communication reliability and stability of the tested display device, and the tested display device which is connected to the man-machine interface testing module and the communication interface testing module. The invention also discloses a testing method, according to testing requirements, a code white box test, a man-machine interaction test and a communication interaction test are executed, the testing result data is analyzed, and a testing report is outputted. Complex communication and electrical environments can be simulated, the degree of automation is high, and the test coverage is wide.
Owner:CSR ZHUZHOU ELECTRIC LOCOMOTIVE RES INST

WEB dynamic security flaw detection method based on JAVA

The invention relates to a security test of WEB application, and aims to provide a WEB dynamic security flaw detection method based on JAVA. The WEB dynamic security flaw detection method based on JAVA is used for detecting the security flaws of a WEB application system, and comprises the following steps: modifying JAVA middleware; performing fuzzing test and dynamic flaw tracking. Due to the adoption of the WEB dynamic security flaw detection method, more WEB security flaw problems can be found rapidly, the security flaw range of black box test can be better covered, more deep WEB security problems can be found, the problem of high cost in white box test can be solved, the specific position of a flaw code can be determined more accurately, and lower missing report rate and error report rate in a detection process are ensured.
Owner:HANGZHOU ANHENG INFORMATION TECH CO LTD

Method for evolving and generating path coverage test data facing defects

The invention discloses a method for evolving and generating path coverage test data facing defects, which aims to expose the defects in a target path as much as possible from the generated test data so as to effectively enhance the quality of the test data. The method comprises the following steps of: firstly, establishing a math model for generating the path coverage test data facing the defects by using a path, in which the largest number of defects are found during tested procedure execution by the test data and the danger level of the defects is highest, as a target under the condition of a restraint that the test data must pass through the target path; and secondly, designing a restraining method for optimizing a plurality of targets so as to solve the problem, and evolving and generating the through target path by using a genetic algorithm, and effectively exposing the test data of the defects at the same time. By the method, the problem that the test data generated by the conventional method can only just pass through the target path instead of effectively exposing the defects in the target path, in particular some small-probability defects, can be solved; and the method can be used for generating the test data for a white box test or a regression test, so the efficiency of the software test can be improved greatly.
Owner:CHINA UNIV OF MINING & TECH

Testing case priority ranking method for white-box testing

The invention discloses a testing case priority ranking method for white-box testing to solve the problem of testing case priority ranking in white-box testing. The method includes the steps: firstly, encoding individuals based on a statement coverage matrix, randomly generating initial populations and taking a statement coverage mean average percentage as a fitness function; secondly, generating new-generation populations by selection, crossover and mutation operation, evaluating the individuals by the fitness function and recording the maximum fitness value in iteration and the corresponding individuals; finally, acquiring optimal ranking results of the individuals corresponding to the maximum fitness value when iteration times reach the maximum iteration time. Compared with an existing method, the testing case priority ranking method is high in convergence rate and good in stability, software defects in the white-box testing process can be discovered as early as possible, and testing cost can be reduced.
Owner:XIAN ZHONGLANG AL TECH CO LTD

Method and device for testing software system, and computer system

The invention discloses a method and a device for testing a software system, and a computer system. The method comprises the following steps of: establishing a debugging channel with the software system based on a programming language adopted by the software system by using a debugging mechanism; acquiring debugging instruction input for testing a flow branch and a state in the software system and corresponding debugging instruction output; transmitting the debugging instruction input to the software system, and receiving an internal state information returned by the software system according to the debugging instruction input; and comparing the internal state information with the debugging instruction output to determine whether the software system is accurately operated or not. The device comprises an establishment module, an acquisition module, a transmission module, a receiving module and a determination module. According to the method, the device and the computer system in the embodiment of the invention, the internal state of the software system can be automatically tested in an operation process, and a white-box test in the software system can be realized with extremely low cost.
Owner:HUAWEI TECH CO LTD

Satellite attitude orbit control software digital closed-loop test system and method

The invention provides a satellite attitude orbit control software digital closed-loop test system and a method. The system comprises an interface simulation end which is connected with an iSystem system, a remote measurement remote control end and a dynamics model end through a network interface and is used for carrying out interface simulation for carrying out data transmission, the iSystem system used for operating the attitude orbit control software, monitoring an operation state and collecting the data of an external interface, the remote measurement remote control end used for receiving an inputted remote control instruction, sending the remote control instruction to the attitude orbit control software and receiving and processing the remote measurement result data, and the dynamics model end used for receiving the control information outputted by the attitude orbit control software, accomplishing calculation of a satellite peripheral attitude orbit model and sending the data of an input part to the attitude orbit control software. According to the system, the interface simulation end forms the digital simulation operation environment and a flexible customization external interface and interacts with the peripheral dynamics model, and thereby white box test content effects can be realized through a black box test method.
Owner:SHANGHAI AEROSPACE COMP TECH INST

White-box testing method and apparatus

Embodiments of the invention provide a white-box testing method and apparatus. The method comprises the steps of determining a code line changed in codes of a target version; determining a function which the code line belongs to; and based on first mapping from the function to test cases, determining a set of the test cases corresponding to the function which the code line belongs to. Compared with the prior art, the method and the apparatus provided by the embodiments of the invention have the advantages that finite test cases can be selected based on a function call relationship for covering software characteristics influenced by code change, so that the automatic testing efficiency is improved.
Owner:EMC IP HLDG CO LLC

Software automatically evaluating tool bag

The inveniton discloses an automatic testing and estimating tool of software in the monitoring system of computer software, which comprises the following parts: realizing too of testing and estimating frame of software, unit testing tool, optimizing tool of integrating testing, reliability testing and estimating tool of software, wherein the unit testing tool is simple technique to integrate black box testing and testing routine of testing data generated by random path; the optimizing tool of integrated testing is the testing optimizing model based on component; the reliability testing and estimating tool of software adopts data bin to collect and store ineffective data to build reliable predicting model based on gene expressive formula program, which analyzes the estimating result of multiple models to give perfect qualitative and quantitative reliable analyzing report. The invention solves the contradiction of incomplete mating between commercial testing tool and local software engineering, which affirms high quality to develop software.
Owner:四川华智信息技术有限公司 +1

Software testing data amplification method

InactiveCN105718368AStable path coverageLower generation costSoftware testing/debuggingData setAlgorithm
The present invention provides a software testing data amplification method, which is targeted at the problem that it is difficult for an original testing data set to meet the demand of new-version software testing. The method comprises: firstly, analyzing a code of a new-version program, and extracting all paths and path conditions of a to-be-tested program; then determining a traversing path of original testing data according to the path conditions, and constructing a similar matrix with a target path that the new-version program needs to cover, and selecting appropriate testing data in the original testing data as an initial evolving population according to the similar matrix; and finally, according to the traversing path of the original testing data and input components corresponding to different sub-path nodes of the target path, determining a position where an adaptive particle swarm algorithm operates an evolving individual, so as to generate new testing data. According to the method provided by the present invention, software testing data amplification is performed by combining a white-box testing technology with the adaptive particle swarm algorithm, so that relatively high efficiency and stability are achieved in the aspect of amplification of a testing data set.
Owner:XIAN UNIV OF POSTS & TELECOMM

Co-diversified random testing (CAT) method

The invention discloses a co-diversified random testing (CAT) method. The diversity among internal program structures of randomly generated test cases is recognized through predicate interpretation (PI); the diversity among input domains of the test cases is recognized through Euclidean distances among the test cases; and then the diversity in the two aspects are combined to efficiently generate an effective test case set, so that the co-diversified random testing method is an automatic random testing technology integrating a black-box testing technology and a white-box testing technology. By adopting the CAT method, the problem of test case redundancies resulted from program structure ignorance in an adaptive random testing (ART) method is improved, the problem of complexity of a path condition (PC) used during symbolic execution is alleviated, and high efficiency and high effectiveness of test case generation are also realized during software testing.
Owner:NANJING UNIV

Method for constructing virtual test environment of flight management system software

InactiveCN108089976AMeet the requirements for completing configuration item testingFlexible arrangementSoftware testing/debuggingOperational systemConfiguration item
The invention discloses a method for constructing a virtual test environment of flight management system software and belongs to the technical field of airborne system software testing. The method comprises the steps that first, comprehensive airborne electronic system network configuration containing a flight management system is constructed, and an interface associated with the flight managementsystem is constructed; second, a virtual target machine associated with the flight management system is constructed, an embedded operating system is formed, a simulation control and display module isconstructed according to the network configuration, an a peripheral device model base is constructed; third, fault models of all systems are established, and a dynamic link library is developed to form an interface associated with the flight management system and the embedded operating system; and last, an auxiliary test tool is integrated and used for performing black-box and white-box testing on the flight management system. Through the method, in the virtual test environment of system, flight management system airborne software configuration item testing can be completed independently andsufficiently without the influence of a real running environment of the flight management system.
Owner:XIAN AIRCRAFT DESIGN INST OF AVIATION IND OF CHINA

Method for testing improved host-oriented embedded software white box

The invention discloses a method for testing an improved host-oriented embedded software white box, and belongs to the technical field of embedded software test. The method comprises the following steps: 1, a first stage test (coarse prediction), comprising extraction of program invariable, machine learning, machine prediction and the like based on a support vector machine, and preliminarily revealing hidden error; 2, a second stage test (prior white box test), namely carrying out embedded software white box coverage test on the program removed with revealed error attribute, and removing problems appearing during removal test, wherein the white box test comprises lexical analysis, grammar analysis, software measurement analysis and coverage rate analysis; and 3, a third stage test (precise prediction), namely identifying the program removed with the problems appearing during coverage test by using a machine predication step in the first stage to acquire possibly hidden deeper program error. The method can be applied to different programs and has strong universality.
Owner:NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

Method and system for realizing white box testing of computer software

The invention relates to a method and a system for realizing the white box testing of computer softwares. The realization method comprises the following steps: (1) resolving and judging the independent pair of each condition in a Boolean expression; (2) resolving and judging minimum independent pair ensemble based on the independent pairs corresponding to each condition and resolving and judging a reference case ensemble formed by the minimum independent pair sets; (3) selecting one minimum independent pair ensemble in the reference case ensemble and generating a test case ensemble corresponding to the minimum independent pair case ensemble, wherein the test case ensemble is a minimum test ensemble; and (4) carrying out modification condition / decision coverage test on a source program by the minimum test ensemble. The invention can reduce the cost of the modification condition / decision coverage (MC / DC) test and avoid the processes of generating a large number of test cases and simplifying the test cases.
Owner:INST OF COMPUTING TECH CHINESE ACAD OF SCI

Test case generation method and device and server

The invention provides a test case generation method and device and a server. The method comprises the steps of obtaining a test demand of a to-be-tested business object; setting a plurality of test parameters according to test requirements; wherein each test parameter comprises a plurality of parameter values; generating a plurality of test cases and an expected result corresponding to each testcase according to the plurality of parameter values corresponding to each test parameter; wherein each test case comprises at least one parameter value of each test parameter. According to the test case generation method and device, the corresponding expected result is generated while the test case is generated, the test requirements of white box tests and the like needing the expected result of the test case are met, and therefore the test function of the test case is expanded.
Owner:BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1

Method for rejecting and summarizing specific data layer by layer simultaneously

The invention relates to a method for rejecting and summarizing specific data layer by layer simultaneously. The method comprises the following steps: establishing a relationship table between servers; determining data needing to participate in summarization by each layer of server; rejecting some pieces of data in accordance with a preset rejection rule by each layer of server so as to participate in summarization, and storing a result in a data table. The method can be applied to multi-dimensional and multi-layer layer-by-layer data summarization of a transactional system without depending on the change of detailed data, pre-processing can be performed, and the processing process does not need to be associated with the detailed data, so that good performance is ensured; in the method, a multi-layer data relationship and the rejection rule are stored separately, so that in a white-box testing process, step-by-step testing is easily realized, and it is easier to find and solve the problem in a production environment.
Owner:YGSOFT INC

A binary translation intermediate representation correctness test method and device based on semantic equivalence verification

The invention belongs to the technical field of computer transplantation, and particularly relates to a binary translation intermediate representation correctness testing method and device based on semantic equivalence verification, and the method comprises the steps: building a mapping rule between a source platform instruction and an intermediate representation; Performing state initialization on the intermediate representation, and constructing a test case; And for the test case, independently executing the source platform instruction and the intermediate representation respectively, and judging whether the semantics between the source platform instruction and the intermediate representation are equivalent or not according to an independent execution result. According to the invention,an intermediate code correctness test irrelevant to a specific system architecture can be realized; a black box and white box testing method is combined; The method can quickly, efficiently and accurately locate the problems existing in the binary translation intermediate representation, improves the test accuracy and efficiency, further shortens the software development test period, guarantees the software quality and reliability, and has a certain guiding significance for binary translation tests between different platforms and the computer software cross-platform transplantation technology.
Owner:PLA STRATEGIC SUPPORT FORCE INFORMATION ENG UNIV PLA SSF IEU

Program code testing method and device

The embodiment of the invention discloses a program code testing method and device and aims at reducing massive detection brought by traditional route coverage and solving the problem that the detection has not pertinence. The program code testing method comprises the steps that the testing purpose of a test is obtained; a logic topological tree corresponding to a procedure code is searched to obtain a logic outlet node relevant to the testing purpose and serving as a target logic outlet node; the target logic outlet node is used as a starting point, and logic testing is conducted on a logic path containing the target logic outlet node in the logic topological tree. It is thus clear that in the embodiment, logic testing is conducted on a logic path containing the target logic outlet node relevant to the testing purpose, rather than logic testing conducted on all logic paths. Due to the fact that the test is the logic test based on the testing purpose, the program code testing scheme provided by the embodiment has more pertinence compared with traditional white box testing.
Owner:TENCENT TECH (SHENZHEN) CO LTD

Code and function covering mapping system and covering mapping method thereof

The invention discloses a code and function covering mapping system which structurally comprises a white box testing tool, a code covering information extraction module, a code and control mapping processing module and a code covering and function covering mapping module. The invention also discloses a code and function covering mapping method and has the technical scheme that: a bridge between a white box testing and a black box testing can be set up, respective specialty of the white box testing and the black box testing can be fully exerted, and sufficiency and efficiency for a testing can be improved.
Owner:中国软件评测中心(工业和信息化部软件与集成电路促进中心)

Software testing data analysis oscilloscope and method

The invention relates to a software testing data analysis device and method which are mainly applied to software white-box testing, in particular to a software testing data analysis oscilloscope and method. The software testing data analysis oscilloscope comprises a code running monitoring device, a testing information transmission device, a running state analysis device and a running state display device. As a result, the software testing data analysis oscilloscope has the advantages that the software running state is displayed in the form of a waveform, and the real-time running state of software can be reflected; instrumentation operation is conducted through different probe implantation units, so each action in the execution process of the software can be monitored, and clearer and more accurate data support is provided for testing personnel; instrumentation is only conducted on a limited number of program structures, so that the expansibility of programs is reduced, and efficiency is improved.
Owner:上海零一拼装信息技术有限公司

White ox measuring system and method using script patch

InactiveCN1471249AFlexible and dynamic modificationFlexibility to determine the return valueSoftware testing/debuggingTransmission monitoringTest efficiencyControl system
The invention uses script function and patch technique to build testing stub function dynamically and realize the scripted structure and scripted execution of the testing stub function in order to prevent repeated compiling and linking procedures so as to raise testing efficiency. The testing system comprises the testing control system, the system to be tested, as well as communication module, script module and testing modules including module of patch processing center, dummy patch functions and address information table. The testing method includes following procedures. Script stub function is added dynamically based on need. The coincidence relation between script stub function and the function to be tested is added. Patch technique is utilized to activate scripted stub function to modify instructions in code segment, as well as transfer, cover, inset and run the scripted stub function.
Owner:BEIJING HUAWEI DIGITAL TECH

White-box testing method, device and system and storage medium

ActiveCN108563579ASolve the problem of low test efficiencyReduce workloadSoftware testing/debuggingCode compilationWorkloadTest object
The invention relates to a white-box testing method, device and system and a storage medium, and belongs to the field of computers. The method comprises the steps that a test case and a to-be-tested version to be tested are acquired; according to attribute information of a test object, a compile mode of the test case is determined; the test case is compiled into a test code executed by the test object through the compile mode; the test object is controlled to run the to-be-tested version; the test code is sent to the test object; and the test object is controlled to execute the test code to obtain a test report of the to-be-tested version. The white-box testing method, device and system and the storage medium have the advantages that the problems that the test case is compiled to differentlanguage types manually, causing that the efficiency of white-box testing is lower can be solved, the efficiency of software testing can be improved, and the workload of test workers is reduced.
Owner:SUZHOU KEDA TECH

Web application safety detection method with white-box and black-box combined

ActiveCN103116543AAddressing High False Positive RatesResolve locationSoftware testing/debuggingWeb applicationFile association
The invention provides a Web application safety detection method with a white-box and a black-box combined. The method includes the following steps: step 1, white-box testing is carried out on a Web application system; step 2, black-box testing is carried out on the Web application system; step 3, file association is carried out through K; step 4, file search is carried out through S; and step 5, integrity combination testing is carried out. The Web application safety detection method with the white-box and the black-box combined solves the problems that false alarm rates of the white-box testing on the Web application system are high and bug source code positions of the black-box testing can not be located.
Owner:CHINA ELECTRIC POWER RES INST +2

A test device and method for performing white-box testing on coverage calculation visualization

ActiveCN104331361AFully assess effectivenessFull assessmentSoftware testing/debuggingWorkloadTest fixture
The invention discloses a test device and method for performing white-box testing on coverage calculation visualization, wherein the test device consists of a source code blocking device and a coverage calculation visualization presenting device. The method of testing by the device comprises steps of: a source code blocking step, and a coverage calculation visualization presenting step. The test device and the method for performing white-box testing on coverage calculation visualization of the invention provide the testing worker with more detailed testing coverage conditions, and make a user locate conveniently and rapidly a logic error point of the source code, and guide the user to design a test case reaching 100% coverage. The invention has the following beneficial technical effects in the field of testing: reducing difficulty in testing; guiding developing workers and testing workers to cooperate to complete testing of 100% coverage of a core module; and reducing workload of unit testing.
Owner:SUZHOU DONGCHAYUN INFORMATION TECH CO LTD

Test case suite amplification method based on self-adaption random testing of predicate

InactiveCN102508770AHigh branch coverageLower generation costSoftware testing/debuggingRegression testingTheoretical computer science
The invention provides a test case suite amplification method based on self-adaption random testing of a predicate. In the invention, a branch conditional expression in a process is called a branch; an expression backtracking to an input field from a branch condition is called the predicate and is used for regressing testing; and a white box testing technology for correcting and analyzing software and a black box testing technology for ART (Adaptive Random Testing) are combined, first, predicate extraction is carried out, then test case suit amplification is carried out by the ART under the guidance of predicate distance. In the invention, due to the combination of the white box testing technology for correcting and analyzing software and the black box testing technology for the ART, the effective amplification of the test case suite with low cost is achieved.
Owner:NANJING UNIV

Base station oriented millimeter wave end-to-end performance test system and method

The invention discloses a base station oriented millimeter wave end-to-end performance test system and method. The system comprises a base station darkroom module, an intermediate hardware module anda terminal darkroom module. The base station darkroom module comprises a base station darkroom, a base station to be detected in the base station darkroom and a spherical probe wall, and the probe wall is provided with a probe supporting uplink and downlink bidirectional communication and used for transmitting bidirectional signals between the base station to be detected and the intermediate hardware module; the intermediate hardware module comprises variable frequency power amplifier equipment and a channel simulator, supports time slot synchronization with the base station to be tested, andperforms uplink and downlink switching; wherein the terminal camera obscura module comprises a shielding camera obscura, a probe and a millimeter wave terminal, and the millimeter wave terminal receives downlink data, sends uplink data and completes end-to-end connection with a base station to be tested. The method is applied to the system and comprises the steps of a probe selection algorithm anda white box test method based on a base station beam filtering signal.
Owner:CHINA ACADEMY OF INFORMATION & COMM

Black box testing optimization using information from white box testing

Testing a computer software application by identifying a sink in the computer software application, identifying a source associated with the sink in the application, identifying an entry point associated with the source in the application, where the source is configured to receive input provided externally to the application via the entry point, determining a sink type represented by the sink, and providing to a testing application information identifying the entry point and in association with the sink type.
Owner:IBM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products