Supercharge Your Innovation With Domain-Expert AI Agents!

Python automatic test framework system and test method

A technology of automated testing and framework systems, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as test failure, blocking, and automated test efficiency discounts, achieving a high degree of automation and avoiding test failures

Active Publication Date: 2017-01-25
FIBOCOM WIRELESS
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the software automation test of the related art, the test scripts of the same test case set need to build several different test environments respectively. When the automation scripts are executed continuously, the test failure, the test environment will be destroyed, and the test execution will be blocked due to the difference in the test environment. As a result, automated testing is cumbersome and the efficiency of automated testing is greatly reduced

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
  • Python automatic test framework system and test method
  • Python automatic test framework system and test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0024] Please refer to figure 1 , is a structural block diagram of the python automated testing framework system of the present invention. The python automated testing framework system 100 includes a test script function interface module 1 , a test case loading module 2 , a test control module 3 and a test execution module 4 .

[0025] The test script function interface module 1 is used for writing test scripts, and setting environment attributes of each test case corresponding to the test script, and multiple test cases form a use case set.

[0026] Testers write the test scripts according to the basic API (Advanced Programmers Interface), and set the environmental attributes of each test script corresponding to the test case, wherein the type and value of the environmental attributes can be customized according to the actual situation. The use case ...

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 python automatic test framework system. The python automatic test framework system comprises a test script functional interface module, a test case loading module, a test control module and a test execution module. The test script functional interface module is used for writing test scripts and setting the environment attributes of test cases corresponding to the test scripts, and the multiple test cases form a case set; the test case loading module is used for loading the selected case set and selecting the test cases needing testing; the test control module is used for setting the current test environment attribute and automatically scanning the environment attributes of the test cases to match the attributes of the test cases with the current test environment attribute; the test execution module is used for executing the test cases designated by the test control module and returning test results to the test control module. Compared with the prior art, by means of the python automatic test framework system, test scripts not matched with the test environment can be automatically neglected, and test scripts matched with the test environment can be automatically executed.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a python automated testing framework system and testing method. Background technique [0002] With the development of software automation testing technology in recent years, characterized by the emergence of efficient automated testing framework technology and excellent automated testing tools, the development efficiency of automated test scripts has been greatly improved, and the requirements for automated testing of software Higher and higher. [0003] In the software automation test of the related art, the test scripts of the same test case set need to build several different test environments respectively. When the automation scripts are executed continuously, the test failure, the test environment will be destroyed, and the test execution will be blocked due to the difference in the test environment. As a result, automated testing is cumbersome and the efficiency of automate...

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/3684G06F11/3688
Inventor 李儒华
Owner FIBOCOM WIRELESS
Features
  • R&D
  • 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