CN112231235B - Test case compiling and testing method and system based on multi-party cooperation - Google Patents

Test case compiling and testing method and system based on multi-party cooperation Download PDF

Info

Publication number
CN112231235B
CN112231235B CN202011434048.5A CN202011434048A CN112231235B CN 112231235 B CN112231235 B CN 112231235B CN 202011434048 A CN202011434048 A CN 202011434048A CN 112231235 B CN112231235 B CN 112231235B
Authority
CN
China
Prior art keywords
test case
module
test
modules
tester
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
CN202011434048.5A
Other languages
Chinese (zh)
Other versions
CN112231235A (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.)
Guangdong Eflycloud Computing Co Ltd
Original Assignee
Guangdong Eflycloud Computing 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 Guangdong Eflycloud Computing Co Ltd filed Critical Guangdong Eflycloud Computing Co Ltd
Priority to CN202011434048.5A priority Critical patent/CN112231235B/en
Publication of CN112231235A publication Critical patent/CN112231235A/en
Application granted granted Critical
Publication of CN112231235B publication Critical patent/CN112231235B/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/368Test management for test version control, e.g. updating test cases to a new software version
    • 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
    • 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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support

Abstract

The invention discloses a test case compiling and testing method and a system thereof based on multi-party cooperation, wherein the system comprises the following steps: the system comprises a login module, a document sharing module and a plurality of test case modules; the test case modules comprise case updating modules and progress display modules; the login module correspondingly distributes the test case module to each tester; the test case module receives a test case; the case updating module sends the content of the test case to other test case modules in real time; after receiving the written test case, the test case module sends a request for judging whether the test case is correct or not, and waits for entering a test process after receiving correct feedback; the test case module tests the test case, displays the test process progress of the test case in real time and sends the test process progress to other test case modules; and the test case module leads out a test document of the test result and sends the test document to a tester. The invention comprehensively improves the case coverage and the test efficiency.

Description

Test case compiling and testing method and system based on multi-party cooperation
Technical Field
The invention relates to the technical field of software testing, in particular to a test case compiling and testing method and a test case compiling and testing system based on multi-party collaboration.
Background
In a software quality management system, testing work of software is indispensable, wherein a test case is a guide of the testing work, is a criterion to be observed by software testing, and is a fundamental guarantee for stable software testing quality. Therefore, writing of test cases is indispensable.
In the prior art, before testing, a tester needs to compile a test case, after a member independently compiles a certain module, cases of other modules still need to be merged, and the cases are differentiated in a document form and confirmed again for other members, so that the working efficiency and the case coverage are greatly reduced, the process is complicated, and problems found in the testing process are not well communicated. In addition, if the testing personnel are scattered all over the area, the software testing process is more complicated, more manpower is consumed, and more time is consumed.
Disclosure of Invention
In order to overcome the defects and shortcomings of the prior art, the invention provides a test case compiling and testing method and a test case compiling and testing system based on multi-party cooperation.
In order to solve the technical problems, the invention provides the following technical scheme: a test case compiling and testing system based on multi-party collaboration comprises a login module, a document sharing module and a plurality of test case modules; each test case module comprises a case updating module and a progress display module;
the login module is used for receiving user account login of each tester and distributing the test case module to each tester for operation according to the user account;
the test case module is used for receiving a test case compiled by a tester, wherein the tester compiles the test case on the test case module;
the case updating module of each test case module is used for sending the test case content compiled by the tester to other test case modules in real time, and the other test case modules are updated and displayed in the case updating module in real time after receiving the test case content compiled by the tester;
the test case module is further configured to: after the test case module receives the test case written by the tester, the test case module sends a request for confirming whether the test case is correct to other test case modules, and if the test case module receives information that other test case modules all feed back to be correct, the test case module waits for entering a test process; if the test case module receives the test case modified by the tester after receiving the information that other one or more test case modules feed back errors, the test case module sends a request for confirming whether the test case is correct to other test case modules again, and the test case module waits for entering a test process until the other test case modules receive the information that the other test case modules feed back the correctness;
the document sharing module is configured to: if the received other one or more test case modules are wrong feedback information, the document sharing module is used for receiving online documents and forms edited by each tester at the same time, automatically refreshing the page within a certain time and updating and modifying the content in real time;
the test case module is further configured to: when all the test case modules wait for entering the test process, each test case module tests the test case of the test case module;
the progress display module is used for displaying the testing process progress of the test case in real time, sending the testing process progress to the progress display modules of other test case modules for displaying, and receiving the testing process progress sent by the progress display modules of other test case modules for displaying;
the test case module is also used for exporting a test result of the test case to a test document, displaying the test document in the document sharing module and sending the test document to a tester.
The invention also aims to provide a test case compiling and testing method based on multi-party collaboration, which comprises the following steps:
step S1, the login module receives user account login of each tester, and test case modules are distributed to each tester to operate according to the user account;
step S2, the test case module receives a test case compiled by a tester, wherein the tester compiles the test case on the test case module;
step S3, the case updating module of each test case module sends the test case content compiled by the tester to other test case modules in real time, and the other test case modules update and display the test case content compiled by the tester in the case updating module in real time after receiving the test case content;
step S4, after the test case module receives the test case written by the tester, the test case module sends a request for confirming whether the test case is correct to other test case modules, and after receiving the information that other test case modules all feed back to be correct, the test case module waits for entering the test process; if the other one or more test case modules receive the information that the feedback is wrong, the test case module receives the test case modified by the tester, and sends a request for confirming whether the test case is correct to the other test case modules again, and the test case module waits for entering a test process until the other test case modules receive the information that the feedback is correct;
if the received other one or more test case modules are wrong feedback information, the document sharing module is used for receiving online documents and forms edited by each tester at the same time, automatically refreshing the page within a certain time and updating and modifying the content in real time;
step S5, when all test case modules wait for entering the test process, each test case module tests its own test case;
step S6, the progress display module displays the test process progress of the test case in real time, sends the test process progress to the progress display modules of other test case modules for display, and receives the test process progress sent by the progress display modules of other test case modules for display;
and step S7, the test case module leads out a test document of the test result of the test case, and displays the test document in the document sharing module and sends the test document to the tester.
After the technical scheme is adopted, the invention at least has the following beneficial effects: the method for compiling the test case by the cooperation of multiple persons through the multi-party cooperation platform improves the efficiency of compiling the test case and reduces the inefficient transmission of the test case in the form of mails and documents; through synchronous cooperation of multiple persons, the problem of insufficient coverage of the test cases can be found as early as possible, and synchronous modification achieves the effect of improving the coverage of the test cases.
Drawings
FIG. 1 is a block diagram of a test case compiling and testing system based on multi-party collaboration.
FIG. 2 is a flow chart of a test case writing and testing method based on multi-party collaboration.
Detailed Description
It should be noted that, in the present application, the embodiments and features of the embodiments may be combined with each other without conflict, and the present application is further described in detail with reference to the drawings and specific embodiments.
Example 1
As shown in FIG. 1, the invention discloses a test case compiling and testing system based on multi-party collaboration, which comprises a login module, a document sharing module and a plurality of test case modules; each test case module comprises a case updating module and a progress display module;
the login module is used for receiving user account login of each tester and distributing the test case module to each tester for operation according to the user account;
the test case module is used for receiving a test case compiled by a tester, wherein the tester compiles the test case on the test case module;
the case updating module of each test case module is used for sending the test case content compiled by the tester to other test case modules in real time, and the other test case modules are updated and displayed in the case updating module in real time after receiving the test case content compiled by the tester;
the test case module is further configured to: after the test case module receives the test case written by the tester, the test case module sends a request for confirming whether the test case is correct to other test case modules, and if the test case module receives information that other test case modules all feed back to be correct, the test case module waits for entering a test process; if the test case module receives the test case modified by the tester after receiving the information that other one or more test case modules feed back errors, the test case module sends a request for confirming whether the test case is correct to other test case modules again, and the test case module waits for entering a test process until the other test case modules receive the information that the other test case modules feed back the correctness;
the document sharing module is configured to: if the received other one or more test case modules are wrong feedback information, the document sharing module is used for receiving online documents and forms edited by each tester at the same time, automatically refreshing the page within a certain time and updating and modifying the content in real time;
the test case module is further configured to: when all the test case modules wait for entering the test process, each test case module tests the test case of the test case module;
the progress display module is used for displaying the testing process progress of the test case in real time, sending the testing process progress to the progress display modules of other test case modules for displaying, and receiving the testing process progress sent by the progress display modules of other test case modules for displaying;
the test case module is also used for exporting a test result of the test case to a test document, displaying the test document in the document sharing module and sending the test document to a tester.
Example 2
The present embodiment discloses a test case writing and testing method based on multi-party collaboration as shown in fig. 2 on the basis of embodiment 1, and the steps include:
step S1, the login module receives user account login of each tester, and test case modules are distributed to each tester to operate according to the user account;
step S2, the test case module receives a test case compiled by a tester, wherein the tester compiles the test case on the test case module;
step S3, the case updating module of each test case module sends the test case content compiled by the tester to other test case modules in real time, and the other test case modules update and display the test case content compiled by the tester in the case updating module in real time after receiving the test case content;
step S4, after the test case module receives the test case written by the tester, the test case module sends a request for confirming whether the test case is correct to other test case modules, and after receiving the information that other test case modules all feed back to be correct, the test case module waits for entering the test process; if the other one or more test case modules receive the information that the feedback is wrong, the test case module receives the test case modified by the tester, and sends a request for confirming whether the test case is correct to the other test case modules again, and the test case module waits for entering a test process until the other test case modules receive the information that the feedback is correct;
if the received other one or more test case modules are wrong feedback information, the document sharing module is used for receiving online documents and forms edited by each tester at the same time, automatically refreshing the page within a certain time and updating and modifying the content in real time;
step S5, when all test case modules wait for entering the test process, each test case module tests its own test case;
step S6, the progress display module displays the test process progress of the test case in real time, sends the test process progress to the progress display modules of other test case modules for display, and receives the test process progress sent by the progress display modules of other test case modules for display;
and step S7, the test case module leads out a test document of the test result of the test case, and displays the test document in the document sharing module and sends the test document to the tester.
Example 3
In this embodiment, on the basis of embodiment 1 and embodiment 2, an example is specifically disclosed, and embodiment 1 and embodiment 2 are explained.
For example, in the current multi-party collaboration-based test case writing and testing system, a test case module A, B, C is provided in total and distributed to three testers A, B, C.
Firstly, testing personnel A, B, C log in the system, the system receives and verifies the log-in of the testing personnel, and the logging personnel A, B, C are correspondingly distributed to the test case modules A, B, C;
the testers respectively start to compile test cases for the responsible functional modules, and the content of the test cases compiled by the tester A is synchronously updated in the interfaces of the tester B and the tester C; the tester can observe the progress and the content of other members during writing; the tester can check the use case compiled by the current online collaboration;
after each tester writes a test case, feedback whether the test case is written correctly by other testers needs to be obtained; for example, the test case written by the tester a needs to be approved by the tester B and the tester C at the same time, and the next test case test can be performed after the tester B and the tester C agree that the test case is correct; if any one of the tester B and the tester C considers that the test case is wrongly written, the discussion is needed, namely, the document sharing module receives online documents and forms simultaneously edited by each tester, automatically refreshes pages within a certain time, and updates and modifies the content in real time; the document sharing module can discuss or publish comments;
when the test case written by the tester A is not approved by the tester B and the tester C at the same time, the tester A needs to modify the test case, the modified content is sent to the tester B and the tester C to be checked in the modification process until the modification is correct, and the approval of the tester B and the tester C is obtained at the same time;
when the test cases written by the tester A, B, C are all approved by everyone, the test cases are tested by the respective test case modules; the progress display module of the test case module a displays the test process progress of the test case in real time and sends the test process progress to the progress display module of the test case module B, C for display, and the test case module a receives the test process progress sent by the progress display module of the test case module B, C for display.
The test case module A leads out a test document of the test result of the test case, and displays the test document in the document sharing module and sends the test document to the tester A; likewise, the test case modules B, C each perform this operation.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various equivalent changes, modifications, substitutions and alterations can be made herein without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims (2)

1. A test case compiling and testing system based on multi-party collaboration is characterized by comprising a login module, a document sharing module and a plurality of test case modules; each test case module comprises a case updating module and a progress display module;
the login module is used for receiving user account login of each tester and distributing the test case module to each tester for operation according to the user account;
the test case module is used for receiving a test case compiled by a tester, wherein the tester compiles the test case on the test case module;
the case updating module of each test case module is used for sending the test case content compiled by the tester to other test case modules in real time, and the other test case modules are updated and displayed in the case updating module in real time after receiving the test case content compiled by the tester;
the test case module is further configured to: after the test case module receives the test case written by the tester, the test case module sends a request for confirming whether the test case is correct to other test case modules, and if the test case module receives information that other test case modules all feed back to be correct, the test case module waits for entering a test process; if the test case module receives the test case modified by the tester after receiving the information that other one or more test case modules feed back errors, the test case module sends a request for confirming whether the test case is correct to other test case modules again, and the test case module waits for entering a test process until the other test case modules receive the information that the other test case modules feed back the correctness;
the document sharing module is configured to: if the received other one or more test case modules are wrong feedback information, the document sharing module is used for receiving online documents and forms edited by each tester at the same time, automatically refreshing the page within a certain time and updating and modifying the content in real time;
the test case module is further configured to: when all the test case modules wait for entering the test process, each test case module tests the test case of the test case module;
the progress display module is used for displaying the testing process progress of the test case in real time, sending the testing process progress to the progress display modules of other test case modules for displaying, and receiving the testing process progress sent by the progress display modules of other test case modules for displaying;
the test case module is also used for exporting a test result of the test case to a test document, displaying the test document in the document sharing module and sending the test document to a tester.
2. A test case compiling and testing method based on multi-party collaboration is characterized by comprising the following steps:
step S1, the login module receives user account login of each tester, and test case modules are distributed to each tester to operate according to the user account;
step S2, the test case module receives a test case compiled by a tester, wherein the tester compiles the test case on the test case module;
step S3, the case updating module of each test case module sends the test case content compiled by the tester to other test case modules in real time, and the other test case modules update and display the test case content compiled by the tester in the case updating module in real time after receiving the test case content;
step S4, after the test case module receives the test case written by the tester, the test case module sends a request for confirming whether the test case is correct to other test case modules, and after receiving the information that other test case modules all feed back to be correct, the test case module waits for entering the test process; if the other one or more test case modules receive the information that the feedback is wrong, the test case module receives the test case modified by the tester, and sends a request for confirming whether the test case is correct to the other test case modules again, and the test case module waits for entering a test process until the other test case modules receive the information that the feedback is correct;
if the received other one or more test case modules are wrong feedback information, the document sharing module is used for receiving online documents and forms edited by each tester at the same time, automatically refreshing the page within a certain time and updating and modifying the content in real time;
step S5, when all test case modules wait for entering the test process, each test case module tests its own test case;
step S6, the progress display module displays the test process progress of the test case in real time, sends the test process progress to the progress display modules of other test case modules for display, and receives the test process progress sent by the progress display modules of other test case modules for display;
and step S7, the test case module leads out a test document of the test result of the test case, and displays the test document in the document sharing module and sends the test document to the tester.
CN202011434048.5A 2020-12-10 2020-12-10 Test case compiling and testing method and system based on multi-party cooperation Active CN112231235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011434048.5A CN112231235B (en) 2020-12-10 2020-12-10 Test case compiling and testing method and system based on multi-party cooperation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011434048.5A CN112231235B (en) 2020-12-10 2020-12-10 Test case compiling and testing method and system based on multi-party cooperation

Publications (2)

Publication Number Publication Date
CN112231235A CN112231235A (en) 2021-01-15
CN112231235B true CN112231235B (en) 2021-03-30

Family

ID=74124529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011434048.5A Active CN112231235B (en) 2020-12-10 2020-12-10 Test case compiling and testing method and system based on multi-party cooperation

Country Status (1)

Country Link
CN (1) CN112231235B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008074529A2 (en) * 2006-12-21 2008-06-26 International Business Machines Corporation Method, system and computer program for performing regression tests
CN102567838A (en) * 2010-12-30 2012-07-11 中国移动通信集团公司 Collaborative development system and collaborative development method
CN107943708A (en) * 2017-12-19 2018-04-20 郑州云海信息技术有限公司 It is a kind of based on the WEB automated testing methods performed parallel
CN110309051A (en) * 2019-05-22 2019-10-08 深圳壹账通智能科技有限公司 Method, system, equipment and the storage medium of management of test cases
CN111324522A (en) * 2018-12-13 2020-06-23 北京数聚鑫云信息技术有限公司 Automatic test system and method
EP3683683A1 (en) * 2019-01-17 2020-07-22 Accenture Global Solutions Limited Test cycle optimization using contextual association mapping
CN111767205A (en) * 2020-04-03 2020-10-13 中国电力科学研究院有限公司 Online detection method and system supporting task splitting
CN111797006A (en) * 2020-06-11 2020-10-20 新奇点智能科技集团有限公司 Method, device and equipment for testing thread and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8549045B2 (en) * 2010-12-30 2013-10-01 International Business Machines Corporation Test data generation and scale up for database testing using unique common factor sequencing
CN102156673B (en) * 2011-04-20 2013-09-18 北京航空航天大学 Test case description oriented GUI (Graphical User Interface) automatic test system and test method thereof
US20130086558A1 (en) * 2011-09-29 2013-04-04 Microsoft Corporation Testing Program Code in Multiple Process Modes
CN103678093B (en) * 2012-08-30 2017-12-22 腾讯科技(深圳)有限公司 A kind of automated test frame and method of testing
US9569342B2 (en) * 2012-12-20 2017-02-14 Microsoft Technology Licensing, Llc Test strategy for profile-guided code execution optimizers
CN104484269A (en) * 2014-11-27 2015-04-01 北京广利核系统工程有限公司 Method for automatically generating testing script
CN104778124B (en) * 2015-04-13 2017-12-05 上海新炬网络信息技术股份有限公司 A kind of software application automated testing method
US10122699B1 (en) * 2017-05-31 2018-11-06 InfoSci, LLC Systems and methods for ephemeral shared data set management and communication protection
US10474562B2 (en) * 2017-09-20 2019-11-12 Salesforce.Com Machine learning based ranking of test cases for software development
US10210074B1 (en) * 2018-06-07 2019-02-19 Capital One Services, Llc Performance testing platform that enables reuse of automation scripts and performance testing scalability
CN109726132B (en) * 2019-01-03 2021-03-23 京东方科技集团股份有限公司 Software testing method and software testing automatic management system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008074529A2 (en) * 2006-12-21 2008-06-26 International Business Machines Corporation Method, system and computer program for performing regression tests
CN102567838A (en) * 2010-12-30 2012-07-11 中国移动通信集团公司 Collaborative development system and collaborative development method
CN107943708A (en) * 2017-12-19 2018-04-20 郑州云海信息技术有限公司 It is a kind of based on the WEB automated testing methods performed parallel
CN111324522A (en) * 2018-12-13 2020-06-23 北京数聚鑫云信息技术有限公司 Automatic test system and method
EP3683683A1 (en) * 2019-01-17 2020-07-22 Accenture Global Solutions Limited Test cycle optimization using contextual association mapping
CN110309051A (en) * 2019-05-22 2019-10-08 深圳壹账通智能科技有限公司 Method, system, equipment and the storage medium of management of test cases
CN111767205A (en) * 2020-04-03 2020-10-13 中国电力科学研究院有限公司 Online detection method and system supporting task splitting
CN111797006A (en) * 2020-06-11 2020-10-20 新奇点智能科技集团有限公司 Method, device and equipment for testing thread and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于 LabVIEW 的多任务测控系统设计与实现;蒲凤萍;吕迪波;《电子测试》;20090831;第35页-第38页 *

Also Published As

Publication number Publication date
CN112231235A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
Kasoju et al. Analyzing an automotive testing process with evidence-based software engineering
Damian et al. Teaching a globally distributed project course using Scrum practices
CN104007957A (en) Graphical user interface editor that displays live data during editing
CN107193730A (en) A kind of interface test method of automation
CN112231235B (en) Test case compiling and testing method and system based on multi-party cooperation
Choudhari et al. Extended iterative maintenance life cycle using eXtreme programming
CN110765004A (en) Testing method and device based on sandbox system and electronic equipment
US7840920B2 (en) Method of generating test program for operating semiconductor testing apparatus
CN108959078A (en) A kind of end Windows automatic software test method and system
Keenan et al. Simulating global software development in a course environment
Höst et al. Evaluation of code review methods through interviews and experimentation
L’erario et al. Software residence application in the versions of a software product line
CN112380118A (en) Unit testing method, unit testing device, medium and electronic equipment
Tinnes et al. Sometimes you have to treat the symptoms: tackling model drift in an industrial clone-and-own software product line
CN111966665A (en) Data migration test method and device
Washko et al. Integrating Entrepreneurship Education into Project Based Design Education
GAN et al. A longitudinal study of a capstone course
Bril et al. Architectural support in industry: a reflection using C‐POSH
Emami et al. Towards Maturity of a Software-based Project Management Methodology Considering a Large-Scale Case Study
Wambua et al. Characterizing Software Quality Assurance Practices in Kenya
CN116955161A (en) Multi-terminal service testing method and device, storage medium and computer equipment
CN111258648B (en) Interactive control method, device, computer system and medium for host system
CN113971020A (en) Software parallel development method and device
Miller An SEI process improvement path to software quality
Bratthall et al. Is a design rationale vital when predicting change impact

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