CN109491898B - Test efficiency improving method and equipment based on automatic test and case management - Google Patents

Test efficiency improving method and equipment based on automatic test and case management Download PDF

Info

Publication number
CN109491898B
CN109491898B CN201811280394.5A CN201811280394A CN109491898B CN 109491898 B CN109491898 B CN 109491898B CN 201811280394 A CN201811280394 A CN 201811280394A CN 109491898 B CN109491898 B CN 109491898B
Authority
CN
China
Prior art keywords
test
automatic
testing
log
case
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811280394.5A
Other languages
Chinese (zh)
Other versions
CN109491898A (en
Inventor
李黎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Sipuling Technology Co Ltd
Original Assignee
Wuhan Sipuling Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Sipuling Technology Co Ltd filed Critical Wuhan Sipuling Technology Co Ltd
Priority to CN201811280394.5A priority Critical patent/CN109491898B/en
Publication of CN109491898A publication Critical patent/CN109491898A/en
Application granted granted Critical
Publication of CN109491898B publication Critical patent/CN109491898B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a method and equipment for improving test efficiency based on automatic test and case management. Wherein the method comprises the following steps: creating a test case set, acquiring test cases needing automatic testing in the test case set, and automatically testing the test cases needing automatic testing; and returning a test result and an execution log of the automatic test, and fusing the execution log of the automatic test and the log of the manual test in a test plan server to obtain a fused test log. The method and the device for improving the test efficiency based on the automatic test and the case management can automatically fuse the execution log of the automatic test case with the execution log of the manual test case to generate a new test case execution log, thereby integrally improving the test efficiency.

Description

Test efficiency improving method and equipment based on automatic test and case management
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method and equipment for improving test efficiency based on automatic test and case management.
Background
In the current IT world, communication equipment providers and the internet are companies involved in software development, the release period of products is shortened by at least 1 to 2 times compared with 10 years ago, and the project period measurement unit of a charter is changed from year to week. The secret formula that the software quality can still be maintained under the condition that the release period is greatly shortened is automation, and the progress of the automatic testing technology helps testers to release from endless regression testing. However, in the prior art, an automation framework and a case management tool are not organically combined together, and if a manual tester is assisted to execute a case, the manual tester is required to manually fill an automatically generated execution log into an execution log of a manual test, so that the filling process is very easy to cause artificial mistakes and omissions, and the efficiency is low. In summary, automation is only a regression that participates in continuous integration and does not organically combine with manual testing to liberate both hands of manual testers in a real sense. Based on the situation, a method capable of automatically fusing the execution log of the manual test case and the execution log of the automatic test case is found, so that the working efficiency of the overall test is improved, and a technical problem to be solved in the industry is solved urgently.
Disclosure of Invention
In view of the above problems in the prior art, embodiments of the present invention provide a method and an apparatus for improving test efficiency based on automated testing and case management.
In a first aspect, an embodiment of the present invention provides a method for improving test efficiency based on automated testing and case management, including: creating a test case set, acquiring test cases needing automatic testing in the test case set, and automatically testing the test cases needing automatic testing; and returning a test result and an execution log of the automatic test, and fusing the execution log of the automatic test and the log of the manual test in a test plan server to obtain a fused test log.
Further, the obtaining of the test cases requiring automated testing in the test case set includes: and acquiring the identification number of the test case needing automatic testing, and determining the test case needing automatic testing in the test case set according to the identification number.
Further, the test case needing the automatic test is automatically tested and is synchronously executed with the manual test.
Further, the method for improving test efficiency based on the automated test and the case management further includes: and at any time, marking the test cases which have been subjected to automation as the automatic test cases.
Further, the test results include: test success or test failure.
In a second aspect, an embodiment of the present invention provides a test efficiency improving apparatus based on automated testing and case management, including:
the automatic test case acquisition module is used for creating a test case set, acquiring test cases needing automatic test in the test case set and automatically testing the test cases needing automatic test;
and the log fusion module is used for returning the test result and the execution log of the automatic test, and fusing the execution log of the automatic test and the log of the manual test in the test plan server to obtain a fused test log.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the test efficiency improving method based on the automated test and the case management provided by any one of the various possible implementation manners of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable a computer to execute the method for improving test efficiency based on automated testing and case management provided in any one of the various possible implementation manners of the first aspect.
According to the method and the device for improving the test efficiency based on the automatic test and the case management, the test case needing the automatic test is automatically tested by obtaining the identification number of the test case needing the automatic test, the automatic test result and the test execution log are returned, under the condition of being parallel to the manual test, the execution log of the automatic test case and the execution log of the test case of the manual test can be automatically fused, a new test case execution log is generated, and the test efficiency is integrally improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below to the drawings required for the description of the embodiments or the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a test efficiency improving method based on automated testing and case management according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an overall technical solution principle of a test efficiency improving method based on automated testing and case management according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a test efficiency improving apparatus based on automated testing and case management according to an embodiment of the present invention;
fig. 4 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. In addition, technical features of various embodiments or individual embodiments provided by the invention can be arbitrarily combined with each other to form a feasible technical solution, but must be realized by a person skilled in the art, and when the technical solution combination is contradictory or cannot be realized, the technical solution combination is not considered to exist and is not within the protection scope of the present invention.
The embodiment of the invention provides a test efficiency improving method based on automatic test and case management, and referring to fig. 1, the method comprises the following steps:
101. creating a test case set, acquiring test cases needing automatic testing in the test case set, and automatically testing the test cases needing automatic testing;
102. and returning a test result and an execution log of the automatic test, and fusing the execution log of the automatic test and the log of the manual test in a test plan server to obtain a fused test log.
On the basis of the above embodiment, the method for improving test efficiency based on automated testing and case management provided in the embodiment of the present invention, where the obtaining of the test cases requiring automated testing in the test case set, includes: and acquiring the identification number of the test case needing automatic testing, and determining the test case needing automatic testing in the test case set according to the identification number.
On the basis of the above embodiment, according to the test efficiency improvement method based on the automated test and the case management provided in the embodiment of the present invention, the test case requiring the automated test is automatically tested and is executed synchronously with the manual test.
On the basis of the above embodiment, the method for improving test efficiency based on automated testing and case management provided in the embodiment of the present invention further includes: and at any time, marking the test cases which have been subjected to automation as the automatic test cases.
On the basis of the above embodiment, the test efficiency improving method based on the automated test and the case management provided in the embodiment of the present invention includes: test success or test failure.
According to the test efficiency improving method based on the automatic test and the case management, the test case needing the automatic test is subjected to the automatic test by obtaining the identification number of the test case needing the automatic test, the automatic test result and the test execution log are returned, under the condition of being parallel to the manual test, the execution log of the automatic test case and the execution log of the test case of the manual test can be automatically fused, a new test case execution log is generated, and the test efficiency is integrally improved.
In order to clearly explain the spirit of the technical solution of the present invention, the technical solutions described in the above embodiments of the present invention are further explained by way of illustration. It should be noted that the illustration is only for clearly illustrating the nature of the technical solution of the present invention, and is not intended to limit the scope of the present invention. All technical solutions that meet the essence of the technical solution of the present invention are within the scope of protection of the present patent. Referring to fig. 2, the overall technical solution in fig. 2 includes four functional modules, which are respectively: the test system comprises a test case management function, a test case execution tracking function, an automatic test function and a manual test function. The test case management function is responsible for daily maintenance and can send daily maintenance instructions to the automatic test function module in a one-way synchronous mode. In addition, the test case management function can also select test cases, the test case execution tracking function module creates a test case set according to the test cases, and the automatic test function automatically screens the test cases capable of being automatically tested to execute automatic testing. And filling an execution result (pass or fail) after the automatic test is finished, and returning an execution log to the test case execution tracking function module. Similarly, the manual test function module executes the rest of test cases needing manual test after automatic screening, namely, executes manual test. And after the manual test is finished, filling an execution result (pass or fail), and returning an execution log to the test case execution tracking function module. And after the test case execution tracking function module receives the automatic execution result and the execution log as well as the manual execution result and the execution log, evaluating the execution result to obtain a test case set execution result, and fusing the automatic execution log and the manual execution log to generate a comprehensive log.
The implementation basis of the various embodiments of the present invention is realized by programmed processing performed by a device having a processor function. Therefore, in engineering practice, the technical solutions and functions thereof of the embodiments of the present invention can be packaged into various modules. Based on this reality, on the basis of the above embodiments, embodiments of the present invention provide a test efficiency improving apparatus based on automated testing and case management, where the apparatus is configured to execute a test efficiency improving method based on automated testing and case management in the above method embodiments. Referring to fig. 3, the apparatus includes:
an automatic test case obtaining module 301, configured to create a test case set, obtain a test case that needs to be automatically tested in the test case set, and automatically test the test case that needs to be automatically tested;
and the log fusion module 302 is configured to return a test result and an execution log of the automatic test, and fuse the execution log of the automatic test and a log of the manual test in the test plan server to obtain a fused test log.
According to the test efficiency improving device based on the automatic test and the case management, the test case needing the automatic test is subjected to the automatic test by obtaining the identification number of the test case needing the automatic test, the automatic test result and the test execution log are returned, under the condition of being parallel to the manual test, the execution log of the automatic test case and the execution log of the test case of the manual test can be automatically fused, a new test case execution log is generated, and the test efficiency is integrally improved.
The method of the embodiment of the invention is realized by depending on the electronic equipment, so that the related electronic equipment is necessarily introduced. To this end, an embodiment of the present invention provides an electronic apparatus, as shown in fig. 4, including: at least one processor (processor)401, a communication Interface (Communications Interface)404, at least one memory (memory)402 and a communication bus 403, wherein the at least one processor 401, the communication Interface 404 and the at least one memory 402 are configured to communicate with each other via the communication bus 403. The at least one processor 401 may call logic instructions in the at least one memory 402 to perform the following method: creating a test case set, acquiring test cases needing automatic testing in the test case set, and automatically testing the test cases needing automatic testing; and returning a test result and an execution log of the automatic test, and fusing the execution log of the automatic test and the log of the manual test in a test plan server to obtain a fused test log.
Furthermore, the logic instructions in the at least one memory 402 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. Examples include: creating a test case set, acquiring test cases needing automatic testing in the test case set, and automatically testing the test cases needing automatic testing; and returning a test result and an execution log of the automatic test, and fusing the execution log of the automatic test and the log of the manual test in a test plan server to obtain a fused test log. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (6)

1. A test efficiency improving method based on automatic test and case management is characterized by comprising the following steps:
creating a test case set, acquiring test cases needing automatic testing in the test case set, and automatically testing the test cases needing automatic testing; the obtaining of the test cases needing automatic testing in the test case set includes: acquiring an identification number of a test case needing automatic testing, and determining the test cases needing automatic testing in the test case set according to the identification number;
the test cases needing automatic testing and the test cases needing manual testing are synchronously executed, wherein the test cases needing manual testing are the rest test cases except the test cases needing automatic testing in the test case set;
and returning a test result and an execution log of the automatic test, and fusing the execution log of the automatic test and the log of the manual test in a test plan server to obtain a fused test log.
2. The method for improving test efficiency based on automated testing and case management according to claim 1, further comprising:
and at any time, marking the test cases which have been subjected to automation as the automatic test cases.
3. The method according to claim 1, wherein the test result comprises:
test success or test failure.
4. The utility model provides a efficiency of software testing hoisting device based on automatic test and case management which characterized in that includes:
the automatic test case acquisition module is used for creating a test case set, acquiring test cases needing automatic test in the test case set and automatically testing the test cases needing automatic test;
the log fusion module is used for returning a test result and an execution log of the automatic test, and fusing the execution log of the automatic test and a log of the manual test in the test plan server to obtain a fused test log;
the obtaining of the test cases needing automatic testing in the test case set includes:
acquiring an identification number of a test case needing automatic testing, and determining the test cases needing automatic testing in the test case set according to the identification number;
and the test case needing the automatic test is automatically tested and is synchronously executed with the manual test.
5. An electronic device, comprising:
at least one processor, at least one memory, a communication interface, and a bus; wherein the content of the first and second substances,
the processor, the memory and the communication interface complete mutual communication through the bus;
the memory stores program instructions executable by the processor, the processor calling the program instructions to perform the method of any of claims 1 to 3.
6. A non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the method of any one of claims 1-3.
CN201811280394.5A 2018-10-30 2018-10-30 Test efficiency improving method and equipment based on automatic test and case management Active CN109491898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811280394.5A CN109491898B (en) 2018-10-30 2018-10-30 Test efficiency improving method and equipment based on automatic test and case management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811280394.5A CN109491898B (en) 2018-10-30 2018-10-30 Test efficiency improving method and equipment based on automatic test and case management

Publications (2)

Publication Number Publication Date
CN109491898A CN109491898A (en) 2019-03-19
CN109491898B true CN109491898B (en) 2021-11-12

Family

ID=65693294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811280394.5A Active CN109491898B (en) 2018-10-30 2018-10-30 Test efficiency improving method and equipment based on automatic test and case management

Country Status (1)

Country Link
CN (1) CN109491898B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100359A (en) * 2020-10-14 2020-12-18 北京嘀嘀无限科技发展有限公司 Test case searching method, device, equipment and storage medium
CN116955030B (en) * 2023-06-28 2024-02-23 珠海妙存科技有限公司 Test plan distribution method and system, electronic device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212362A (en) * 2006-12-26 2008-07-02 中兴通讯股份有限公司 Automatic testing device and method incorporating a variety of testing tools
CN102063376A (en) * 2011-02-16 2011-05-18 哈尔滨工程大学 Test case selection method
CN102799508A (en) * 2012-07-09 2012-11-28 深圳市共进电子股份有限公司 Automatic test system and method
CN108647147A (en) * 2018-05-15 2018-10-12 南京璇玑信息技术有限公司 It is a kind of to execute automatic test machine people and its application method using atlas analysis

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62121551A (en) * 1985-11-21 1987-06-02 Nec Corp Maintenance diagnostic device
CN103077109B (en) * 2009-12-28 2016-05-25 中兴通讯股份有限公司 A kind of test plan dispatching method and system
TW201527968A (en) * 2013-12-11 2015-07-16 Hon Hai Prec Ind Co Ltd Test results integrated system and method
CN106933734A (en) * 2015-12-30 2017-07-07 中兴通讯股份有限公司 A kind of physical layer software automated testing method and device
CN107957940B (en) * 2016-10-17 2021-03-16 腾讯科技(深圳)有限公司 Test log processing method, system and terminal
CN106681912A (en) * 2016-12-08 2017-05-17 武汉斗鱼网络科技有限公司 Method and device for automatic testing of code coverage rate, applied to Android system
CN107861876A (en) * 2017-11-16 2018-03-30 平安科技(深圳)有限公司 Method of testing, device, computer equipment and readable storage medium storing program for executing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212362A (en) * 2006-12-26 2008-07-02 中兴通讯股份有限公司 Automatic testing device and method incorporating a variety of testing tools
CN102063376A (en) * 2011-02-16 2011-05-18 哈尔滨工程大学 Test case selection method
CN102799508A (en) * 2012-07-09 2012-11-28 深圳市共进电子股份有限公司 Automatic test system and method
CN108647147A (en) * 2018-05-15 2018-10-12 南京璇玑信息技术有限公司 It is a kind of to execute automatic test machine people and its application method using atlas analysis

Also Published As

Publication number Publication date
CN109491898A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN107608874A (en) Method of testing and device
CN104580451B (en) Realize the method and system and electronic equipment of multi-platform account synchronization
CN109947641A (en) Automated testing method and device
CN109491898B (en) Test efficiency improving method and equipment based on automatic test and case management
CN105786695B (en) Data test method and system
CN112052172B (en) Rapid test method and device for third-party channel and electronic equipment
CN109901968A (en) A kind of automation page data method of calibration and device
CN103631713A (en) ERP software automated testing system and method
EP3270249A1 (en) Method and apparatus for a computer-based generation of component fault trees
CN104461708B (en) Mission bit stream processing method and system
CN111679979B (en) Destructive testing method and device
CN104268079A (en) POS (Point Of Sale) application program testing method and system
CN110765010B (en) Method and device for online debugging visual development based on Flink
CN112380255A (en) Service processing method, device, equipment and storage medium
CN110209584A (en) A kind of automatic generation of test data and relevant apparatus
CN113536081A (en) Data center data management method and system based on artificial intelligence
CN108704312A (en) The test method and device of fine arts resource
CN111045935A (en) Automatic version auditing method, device, equipment and storage medium
CN111309581A (en) Application performance detection method and device in database upgrading scene
CN111176974B (en) Disaster tolerance testing method and device, computer readable medium and electronic equipment
CN111897725B (en) Automatic test method, medium, equipment and system for middle platform service
CN111767218B (en) Automatic test method, equipment and storage medium for continuous integration
CN116431522A (en) Automatic test method and system for low-code object storage gateway
CN111209180A (en) Regression testing method and device based on fuzzy matching
CN113342641A (en) Automatic test method and system for HTTP service interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant