Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for testing credibility of software

A testing method and testing device technology, applied in the field of software reliability testing methods and devices, can solve the problems of 100% branch coverage, difficult to achieve code coverage, difficult to complete testing, defects, etc., to achieve the effect of improving reliability

Active Publication Date: 2012-10-03
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is more common in the existing technology to use white box testing technology, such as unit testing based on test cases, to test the internal structure of the software, but due to the influence of test cases, test data, test environment, etc., the test is difficult to complete, 100% Branch coverage, code coverage, etc. are difficult to achieve, so there may still be deep-seated defects in the software, resulting in low reliability of the software

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
  • Method and device for testing credibility of software
  • Method and device for testing credibility of software
  • Method and device for testing credibility of software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] figure 1 It is a flowchart of a software credibility testing method provided by an embodiment of the present invention. Such as figure 1 As shown, the method of the present embodiment includes:

[0020] Step 101. Obtain the name of the object to be detected in the software code, all states and transition conditions between states.

[0021] The execution subject of each embodiment of the present invention is a software credibility testing device, which may be a computer or other equipment.

[0022] In the prior art, most software testing is testing the external performance of the software, while ignoring the testing of the internal structure of the software code. Even if some tests are aimed at the internal structure of the software code, it is difficult to achieve 100% branch coverage, code coverage, etc., and the test is difficult to be thorough. For example, there may still be null pointers, memory leaks, dead code, etc. in the software code, making The trustworth...

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 method and a device for testing credibility of a software, wherein the method comprises the following steps: acquiring a name, all states and a state change condition of a to-be-tested object in a software code, wherein the state change condition is a conversion relationship between states; abstracting and performing semantic conversion in defects of the object described by natural language according to the name, all states and the state change condition of the object to generate defects of the object described by test language, wherein the test language is a describing mode according with semantic of the software code; and performing defect test to the object in the software code according to the defects of the object described by the test language. The technical proposal provided by the invention can go deep into an internal structure of the software code based on the test technology of defects, and detect defects in the software code from the internal structure by abstractly modeling for detects so as to be beneficial to increasing credibility of the software code.

Description

technical field [0001] The invention relates to software testing technology, in particular to a software credibility testing method and device. Background technique [0002] With the increasingly complex network structure, information systems become more and more fragile, and issues such as Security, Reliability, and Availability become increasingly prominent, often making information systems unable to meet user expectations or trust. way of working. In the course of Internet development, there are too many troubles, losses and even disasters caused by credibility issues. How to ensure that software provides reliable services for people and how to improve the credibility of software are issues worthy of in-depth consideration, especially for software that is closely related to user experience, such as communication, it must have higher credibility. [0003] Software credibility is essentially an extension of the traditional concept of software quality in the Internet era, ...

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
IPC IPC(8): G06F11/36
Inventor 杨学红王国环
Owner CHINA UNITED NETWORK COMM GRP CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More