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

Test method and apparatus

A test method and test plan technology, applied in the field of testing, can solve the problems of untestable test object, test object defect, poor test effect, etc., to achieve the effect of perfect and reasonable test plan, clear test logic, and improvement of test quality

Inactive Publication Date: 2018-03-27
ALIBABA GRP HLDG LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, in the process of exploratory testing, the test plan designed by the tester cannot test the test object well, and the test effect is not good, resulting in defects in the final output test object

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
  • Test method and apparatus
  • Test method and apparatus
  • Test method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0083]Embodiment 1: The testing strategy of the anti-pattern is the testing strategy of the layered anti-pattern.

[0084] In one example, in the design dimension of the test strategy of the layered anti-pattern, the following design dimension events are given: introduce the model concept, and perform business encapsulation of the domain model. Layered design, clear layers, clear functions of each layer, the current layer does not encapsulate the functions of other layers. In the test dimension of the test strategy of the layered anti-pattern, the following test dimension events are given: different test pieces are built for different levels, from unit test to system test hierarchical coverage. Regression test pieces are refined based on model changes. Evaluate the impact linkage points based on code changes, and use test cases (cases) without dead ends to cover. Among them, based on the above-mentioned design dimension events, a test strategy for layered anti-patterns can b...

Embodiment 2

[0087] Embodiment 2: Anti-pattern testing strategies are anti-pattern-dependent testing strategies.

[0088] In one example, in the design dimension of the test strategy that relies on anti-patterns, the following design dimension events are given: reduce the degree of external dependence and reduce the depth of dependence. The environment relies on "stand-alone" to improve link scalability. In the test dimension of the test strategy that relies on anti-patterns, the following test dimension events are given: the overall environment link maintenance has document guidance, a stable public environment is provided, and each product line has an overall link dependency diagram for the environment dependency (such as system Dependency graph collation, environment dependency graph collation). In the case of the overall test environment link, the degree of single-machine testing of the system is low, and the test environment is easy to isolate. Among them, based on the above-mention...

Embodiment 3

[0091] Embodiment 3: The test strategy of the anti-pattern is the test strategy of the interface service anti-pattern.

[0092] In one example, in the design dimension of the test strategy of the interface service anti-pattern, the following design dimension events are given: the function of the interface is clearly defined, the design is reasonable, and what you see is what you use: annotations and parameters are clear. The leaking method of the interface considers the accuracy and high reliability of information transmission and reception, and has a good fault tolerance mechanism. In the test dimension of the test strategy of the interface service anti-pattern, the following test dimension events are given: Provide comprehensive and coverable interface test pieces for the parameters and methods of interface leaks. Sort out the scene of the interface caller, and construct the interface test piece based on the scene. Among them, based on the above-mentioned design dimension e...

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 test method and apparatus. The method comprises the steps of obtaining a test object; obtaining an anti-pattern test scheme, wherein the anti-pattern test scheme comprises ananti-pattern test policy; and testing the test object through the anti-pattern test policy of the anti-pattern test scheme. Through the technical scheme, an anti-pattern thought is introduced in the test field, and the test is further carried out through an anti-pattern model, so that the test quality is improved, the test scheme is perfecter and more reasonable, test logic is clearer, a test direction is more definite, and a test process can be guided more comprehensively. The anti-pattern thought is supplementation of a positive test thought, can guide test personnel to look at, analyze andsolve the problem from the opposite perspective and think the test scheme from the opposite perspective, improves thinking methods of the test personnel, well achieves a guide effect in the whole testprocess, and optimizes the quality of the test object.

Description

technical field [0001] The present application relates to the technical field of testing, in particular to a testing method and device. Background technique [0002] Exploratory testing is a testing thinking technique. Exploratory testing does not have many practical testing methods, techniques and tools, but it is a testing thinking mode that testers should master. Exploratory testing emphasizes the subjective initiative of testers, abandons the complicated test plan and test case design process, and emphasizes changing the test plan in time when problems are encountered. Compared with the traditional test process of designing first and executing later, exploratory testing emphasizes the simultaneousness of test design and test execution, that is, test design and test execution at the same time. [0003] Exploratory testing is a process of learning, iteration, and feedback. While testing the test object, it uses the information generated during the test process to learn a ...

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/3684
Inventor 牛标
Owner ALIBABA GRP HLDG LTD
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