CN109522214A - Test method, platform, client and system calculate equipment and readable medium - Google Patents

Test method, platform, client and system calculate equipment and readable medium Download PDF

Info

Publication number
CN109522214A
CN109522214A CN201811174293.XA CN201811174293A CN109522214A CN 109522214 A CN109522214 A CN 109522214A CN 201811174293 A CN201811174293 A CN 201811174293A CN 109522214 A CN109522214 A CN 109522214A
Authority
CN
China
Prior art keywords
test
information
script
target detection
module
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.)
Pending
Application number
CN201811174293.XA
Other languages
Chinese (zh)
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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Shenma Mobile Information 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 Guangzhou Shenma Mobile Information Technology Co Ltd filed Critical Guangzhou Shenma Mobile Information Technology Co Ltd
Priority to CN201811174293.XA priority Critical patent/CN109522214A/en
Publication of CN109522214A publication Critical patent/CN109522214A/en
Pending legal-status Critical Current

Links

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/3692Test management for test results analysis
    • 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/3696Methods or tools to render software testable

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of test method, platform, client and system, calculates equipment and readable medium.Its method includes: the test request for receiving test user and being initiated by corresponding test client, and the identification information of target detection content to be tested is carried in the test request;According to the identification information of the target detection content, corresponding target detection content is tested, obtains this content test result;This described content test result is analyzed and processed, object content test result is obtained;The object content test result of the target detection content is shown to each test client.Technical solution of the present invention, all tests can be allowed to be automatically performed on test platform is online, overcome the defect of single machine test in the prior art, can be realized the team unity test on line, without labor management and maintenance test process, testing efficiency can be effectively improved.

Description

Test method, platform, client and system calculate equipment and readable medium
Technical field
The present invention relates to computer application technology more particularly to a kind of test method, platform, client and system, Calculate equipment and readable medium.
Background technique
With flourishing for Internet technology, there is the internet system software for being getting larger and larger, becoming increasingly complex.
For Large-Scale Interconnected net development project, team's integration testing is the online important ring of software security.It is practical In, often the development teams of hundred people can include the Test Engineer of tens of people, be responsible for before online implementing, upper line process In, to functional completeness verifying work after online implementing.Especially after online implementing runs several years, as Requirement Iteration constantly becomes Change, system function is enriched, and the small project of a several people might have thousands of test points, and incident is on needing to safeguard Ten thousand test cases and test script.For testing team, relatively good habit is standardization test document, uses word Test record description is stored, records test script using idea, records test case using xmind, since everyone is single Machine operation, if the test of some test script needs to rely on when the test result of other scripts, need to pass from mouth to mouth test Relevance between work.
It can be seen from the above, existing test is by each tester's single machine operation, entire testing process can only be manually Carry out maintenance and management, causes testing efficiency very low.
Summary of the invention
The present invention provides a kind of test method, platform, client and system, calculates equipment and readable medium, for realizing It is tested on line, improves testing efficiency.
The present invention provides a kind of test method based on team unity, which comprises
The test request that test user is initiated by corresponding test client is received, is carried in the test request to be measured The identification information of the target detection content of examination;
According to the identification information of the target detection content, corresponding target detection content is tested, this is obtained Content test result;
This described content test result is analyzed and processed, object content test result is obtained;
The object content test result of the target detection content is shown to each test client.
The present invention also provides a kind of test methods based on team unity, which comprises
The test request of test user's triggering is received, the mark of target detection content to be tested is carried in the test request Know information;
The test request is sent to test platform, so that the test platform is according to the mark of the target detection content Information tests corresponding target detection content, obtains this content test result;To this described content test result It is analyzed and processed, obtains object content test result;And the target detection content is shown to each test client The object content test result.
The present invention also provides a kind of test platform based on team unity, the test platform includes:
Receiving module, the test request initiated for receiving test user by corresponding test client, the test The identification information of target detection content to be tested is carried in request;
Testing engine module, for the identification information according to the target detection content, to corresponding target detection content It is tested, obtains this content test result;
Analysis and processing module obtains object content test for being analyzed and processed to this described content test result As a result;
Display module, for showing that the object content of the target detection content is tested to each test client As a result.
The present invention also provides a kind of test client, the test client includes:
Receiving module carries mesh to be tested in the test request for receiving the test request of test user's triggering Mark the identification information of test content;
Sending module, for sending the test request to test platform, so that the test platform is according to the target The identification information of test content tests corresponding target detection content, obtains this content test result;To described Secondary content test result is analyzed and processed, and obtains object content test result;And to described in each test client displaying The object content test result of target detection content.
The present invention also provides a kind of test macro based on team unity, the test macro includes test as described above Platform and at least two test clients as described above;The test platform and each test client communicate to connect.
The present invention also provides a kind of calculating equipment, comprising:
Processor;And
Memory is stored thereon with executable code, when the executable code is executed by the processor, makes described Processor executes method described in any one as above.
The present invention also provides a kind of non-transitory machinable mediums, are stored thereon with executable code, when described When executable code is executed by the processor of electronic equipment, the processor is made to execute as above described in any item methods.
Test method, platform, client and system of the invention calculates equipment and readable medium, by using above-mentioned skill Art scheme can allow all tests to be automatically performed on test platform is online, overcome single machine test in the prior art Defect can be realized the team unity test on line, not have to labor management and maintenance test process, can effectively improve test Efficiency.
Detailed description of the invention
Disclosure illustrative embodiments are described in more detail in conjunction with the accompanying drawings, the disclosure above-mentioned and its Its purpose, feature and advantage will be apparent, wherein in disclosure illustrative embodiments, identical reference label Typically represent same parts.
Fig. 1 is the flow chart of the test method embodiment one of the invention based on team unity.
Fig. 2 is the flow chart of the test method embodiment two of the invention based on team unity.
Fig. 3 is the flow chart of the test method embodiment three of the invention based on team unity.
Fig. 4 is the flow chart of the test method example IV of the invention based on team unity.
Fig. 5 is the flow chart of the test method embodiment five of the invention based on team unity.
Fig. 6 is the flow chart of the test method embodiment six of the invention based on team unity.
Fig. 7 is the flow chart of the test method embodiment seven of the invention based on team unity.
Fig. 8 is the flow chart of the test method embodiment eight of the invention based on team unity.
Fig. 9 is a kind of cloth for user's interaction page that the test method embodiment nine of the invention based on team unity provides Office's schematic diagram.
Figure 10 is the flow chart of the test method embodiment ten of the invention based on team unity.
Figure 11 is the flow chart of the test method embodiment 11 of the invention based on team unity.
Figure 12 is the flow chart of the test method embodiment 12 of the invention based on team unity.
Figure 13 is the flow chart of the test method embodiment 13 of the invention based on team unity.
Figure 14 is the flow chart of the test method embodiment 14 of the invention based on team unity.
Figure 15 is the flow chart of the test method embodiment 15 of the invention based on team unity.
Figure 16 is the flow chart of the test method embodiment 16 of the invention based on team unity.
Figure 17 is the flow chart of the test method embodiment 17 of the invention based on team unity.
Figure 18 is the structure chart of the test platform embodiment one of the invention based on team unity.
Figure 19 is the structure chart of the test platform embodiment two of the invention based on team unity.
Figure 20 is the structure chart of test client embodiment of the invention.
Figure 21 is the structure chart of the test macro embodiment provided by the invention based on team unity.
Figure 22, which shows an embodiment according to the present invention, can be used for realizing based on the above-mentioned test method by team unity Calculate the structural schematic diagram of equipment.
Specific embodiment
The preferred embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Preferred embodiment, however, it is to be appreciated that may be realized in various forms the disclosure without the embodiment party that should be illustrated here Formula is limited.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and can be by the disclosure Range is completely communicated to those skilled in the art.
The present invention provides a kind of test method based on team unity, may include a survey in applied framework Try platform and at least two test clients.The quantity of test client can be set as any number of according to project demands.This The test platform of invention can be realized by webpage back-end server, and each test client can be the browsing of webpage front-end Device, i.e., it is of the invention based on the test method of team unity realize when, multiple test clients can pass through the account of oneself respectively Family logs in the web page address of test platform, can enter test platform, show there is survey on the browser of each test client User's interaction page that examination platform is shown to test client, can show in the user interface to the test client The information for the project that its corresponding test user is participated in.Test user passes through user's interaction page that test client is seen Test can be executed.And any test Client-initiated test result in multiple test clients, test platform can be to each A test client is shown, and avoids passing from mouth to mouth under test user's line, so as to effectively improve test and management efficiency.This When corresponding test platform can be realized using Web technological development.
Or in the present embodiment, which can be an independent server, and each test client can be to answer With (Application;App) client may be mounted on each test computer used by a user, and realization principle is similar, Details are not described herein.
Fig. 1 is the flow chart of the test method embodiment one of the invention based on team unity.As shown in Figure 1, this implementation The test method based on team unity of example, can specifically include following steps:
S100, the test request that test user is initiated by corresponding test client is received, is carried in the test request The identification information of target detection content to be tested;
S101, according to the identification information of the target detection content, corresponding target detection content is tested, is obtained This content test result;
S102, this described content test result is analyzed and processed, obtains object content test result;
S103, the object content test result that the target detection content is shown to each test client.
The test method based on team unity of the present embodiment, to describe technical solution of the present invention in test platform side.
For the present embodiment when realizing, target detection content can be target detection script, target detection process or target Three kinds of test content types of test scene, the granularity of three kinds of test contents is ascending, and target detection script is the smallest test Unit, may include multiple target detection scripts with ordinal relation in target detection process, can be in target detection scene Including multiple target detection processes.The embodiment of each test content type is introduced separately below.
Fig. 2 is the flow chart of the test method embodiment two of the invention based on team unity.As shown in Fig. 2, this implementation Skill of the invention is discussed in detail so that target detection content is target detection script as an example in the test method based on team unity of example Art scheme.As shown in Fig. 2, the test method based on team unity of the present embodiment, can specifically include following steps:
S200, the script test request that test user is initiated by corresponding test client is received, script test is asked Seek the middle identification information for carrying target detection script to be tested;
S201, according to the identification information of target detection script, to the target detection script in corresponding target detection use-case It is tested, obtains this script test result;
S202, this script test result is analyzed and processed, obtains target script test result;
S203, the target script test result that target detection script is shown to each test client.
Specifically, in the present embodiment for testing user and initiate script test request, to describe technical side of the invention Case.Specifically step S200-S203 respectively corresponds the step S100-S103 in above-mentioned embodiment illustrated in fig. 1, as above-mentioned step A kind of specific implementation of rapid S100-S103.
Firstly, test user can initiate script test request, the script test request by corresponding test client The middle identification information for carrying target detection script to be tested.In specific implementation, test platform is shown to test client User's interaction page in, test user can see the test script that all test users have inputted, these test feet This can all carry out on-line testing.These test scripts can store in script management module, any test user point All test scripts that can support test can be checked by hitting script management module, and user, which can choose, thinks test foot to be tested This, clicks test, initiates script test request, the identification information for this test script that user clicks just is target to be tested The identification information of test script.Alternatively, test user can also in user's interaction page test script engine or other moulds Test script to be tested is selected in block, realizes the triggering of script test request, and no longer citing repeats one by one herein.The present embodiment The identification information of test script be the ID for the unique identification test script that records in test platform, the test script Identification information can be arranged according to features such as the functions of script to be tested, or can using different numbers, letter or Person's number is indicated with monogram.
Accordingly, it in test platform, receives test user and is tested by the script that corresponding test client is initiated After request, according to the identification information of the target detection script in script test request, to the mesh in corresponding target detection use-case Mark test script is tested, this script test result is obtained.
For example, step S201 " according to the identification information of target detection script, surveys corresponding target in the present embodiment Target detection script in example on probation is tested, this script test result is obtained ", when specific implementation may include walking as follows It is rapid:
(a1) according to the identification information of target detection script, corresponding target detection is obtained from script management module and is used Example;
(b1) the target detection script in target detection use-case is compiled;
(c1) it according to the configuration information in target detection use-case and the target detection script after compiling, generates target and executes survey Training sheet;
(d1) test script is executed to target to test, obtain this script test result.
According to the identification information of target detection script, available corresponding target detection is used from script management module Example;It again include target detection script, configuration information and desired effect etc. in target detection use-case.Then it can therefrom obtain Corresponding target detection is taken to be compiled with script.
It is different since test script is to be inputted by each test user by the test script editing machine of test client The format of test script of test user input may be not identical, for example, java, scala can be used in test script, A variety of programming languages such as groovy, python are write.The present embodiment, can be by the script of arbitrary format when test script compiles Compilation of source code is class file, while according to configuration information, and creating the class file can be performed environment, including jvm environment And context class variable;It ultimately generates target and executes test script.Finally test script is executed to target to test, Obtain this script test result.The process can be executed by the test script engine of test platform.Once script test is asked It asks, test script engine can be tested according to above-mentioned steps perform script.
It, can be using the UrlClassloader solution mixed with ThreadContextClassloader in the present embodiment Downstream traffic publication automatically can be guaranteed the repair free of charge such as by the jar that test client inputs and be changed by scheme, and unaware is synchronized to upstream Test lead such as test platform, i.e., more people do not need the variation of concern system under test (SUT), exist every time in test cloud platform development process Before test script executes, the class file of system under test (SUT) is dynamically pulled, while creating the virtual test ring of thread isolation Border allows test script smoothly to execute.
In the present embodiment, after obtaining this script test result, this script test result can be analyzed and processed, Obtain target script test result.For example, can specifically include: collecting this script test result;According to target detection use-case In target detection script desired effect, this script test result is analyzed and processed, obtain target script test knot Fruit, it is contemplated that effect is stored in test case, can arbitrarily be obtained.When analysis, target detection is obtained from target detection use-case The desired effect of script, then compares whether this script test result achieves the desired results, if reaching, then it is assumed that test at The prompt being successfully tested can be presented in function, target script test result, if not up to, then it is assumed that test crash, target script are surveyed The prompt of test crash can be presented in test result.
Still optionally further, the historic test results that can be combined with target detection script, to this script test result It is analyzed and processed, obtains target script test result.It, can in obtained target script test result for example, by this mode With include in history the target detection script execute how many times test altogether, wherein be successfully tested how many times, test crash how many times, The percentage etc. being successfully tested can even be further calculated.
The target script test result that target detection script is shown to each test client of the present embodiment, can pass through The mode of web page output is shown.
In the present embodiment, after obtaining target script test result, need to show target detection foot to each test client This target script test result.In this way, each test client is it can be seen that target script test result, and do not have to survey It passes from mouth to mouth under family line on probation, informs another test user for needing to learn the target script test result, and by another User is when directly triggering the test of be responsible for test script for test, can automatically from line acquisition want to learn it is any its The test result of his test script is highly convenient for the management of test, can effectively improve testing efficiency.
The test method based on team unity of the present embodiment, by using above-mentioned technical proposal, appointing in team unity The one test test that can trigger the test script stored on test platform by its corresponding test client per family, is realized The automatic test of test script, and it can be seen that test result, realizes the team unity on line on all test clients Test, and do not have to test user and descend the respective test of single machine completion, and labor management and maintenance test process, this implementation online The testing scheme of example can realize that tests on line manages and maintains by test platform, so as to effectively improve test effect Rate.
Still optionally further, the step S200 shown in above-described embodiment " receives test user and passes through corresponding test visitor Before the script test request that family end is initiated ", it can also include the following steps:
(a2), it is defeated by the test case editing machine on corresponding test client respectively that at least two test users are received The test case entered collects at least two test cases;It include that test script information, test script are matched in each test case The desired effect of confidence breath and test script;It include the identification information of test script and test script in test script information;
The test case of the present embodiment can refer to the test case of the standalone version designed under existing user's line, and the survey It can also include the other information of test script in example on probation, such as write the length of language format, test script, herein not An another citing repeats.
(b2), each test case received is stored in script management module;
(c2), each test case for supporting script to test is shown to each test client in script management module.
In the present embodiment, for the ease of test platform in the user's interaction page shown to each test client information Layout, test case can be stored in script management module.When showing in this way, script management module is shown to be handed in user In the mutual page, when test user clicks the script management module, its each survey stored further can be shown to test user Example on probation, and further, test user can also click the test script information for seeing each test case, it might even be possible to each Test script information is modified.Specifically modification process is that test user passes through test client input modification information, test Modification information is sent to test platform by client, and test platform receives modification information, and modifies corresponding test script information, Finally modified test script information is shown to each test client in Manage Scripts management module.
Above-mentioned steps (a2)-(c2) of the present embodiment is that each test user passes through test client input test use-case, And the process for each test script information for supporting script to test is shown from test platform to each test client.In this way, each survey Family on probation can see that test platform can support the test of which test script in corresponding test client, and then use upper The mode of embodiment illustrated in fig. 1 is stated, realizes script test.
Show that each test for supporting script to test is used to each test client in script management module in the present embodiment It when example, can specifically be shown by the way of web page output, to be interacted with test user.
The test method based on team unity of the present embodiment can be to help on line by using above-mentioned technical proposal The realization of the test of team unity, and avoid test user that single machine is descended to complete respective test, and labor management and maintenance online Testing process, the testing scheme of the present embodiment can realize that tests on line manages and maintains by test platform, so as to have Improve test and management efficiency in effect ground.
Fig. 3 is the flow chart of the test method embodiment three of the invention based on team unity.The present embodiment based on group Technical solution of the present invention is discussed in detail so that target detection content is target detection process as an example in the test method of team's cooperation.Such as Shown in Fig. 3, the test method based on team unity of the present embodiment can specifically include following steps:
S300, the flow testing request that any test user is initiated by corresponding test client is received;The process is surveyed The identification information of target detection process to be tested is carried in examination request;
S301, according to corresponding target detection procedure information in the identification information of target detection process, workflow management module And in target detection procedure information corresponding each target detection script with ordinal relation identification information, to target detection Process is tested, this flow testing result is obtained;
S302, this flow testing result is analyzed and processed, obtains target process test result;
S303, the target process test result that target detection process is shown to each test client.
The technical solution of the present embodiment describes the test that a kind of testing process is granularity.Before flow testing request triggering, After test user can see the testing process that can be supported from the workflow management module of test client, it can choose wherein A kind of target detection process, start flow test request are tested.It, can in user's interaction page that test client is shown To click to enter in testing process module, selection target testing process clicks testing button, trigger flow test.That is, In user interface, it can click the button, can touch for each testing process setting test trigger button, user Send out target detection process corresponding, the present embodiment is by taking a test user triggers target detection process as an example.
Accordingly, in test platform side, after receiving flow testing request, according to the identification information of target detection process, It is corresponding in corresponding target detection procedure information and target detection procedure information in workflow management module that there is ordinal relation Each target detection script identification information, target detection process is tested, this flow testing result is obtained.Specifically Ground, test platform can first according to flow testing request in target detection process identification information, it is possible to further from stream The mark letter of corresponding each target detection script with ordinal relation in target detection procedure information is obtained in thread management module Breath.Then according to the identification information of each target detection script for having ordinal relation in target detection process, according to by elder generation to rear Sequence, the corresponding test script of identification information that target detection script is successively transferred from script management module tested, Until each target detection script is completed in the target detection process, this flow testing result is obtained.With reference to above-mentioned Fig. 2 institute The analysis mode for showing the script test result in embodiment can analyze this flow testing result.If this flow testing All target detection scripts of middle target detection process are all successful, then it represents that are successfully tested, as long as otherwise there is a target detection Script does not pass through, then it represents that this target detection process does not pass through test, test crash.
It similarly, still optionally further, can also be in conjunction with the test result of the target detection process in history, in target process Increase the target detection process in history in test result and execute how many times test altogether, wherein being successfully tested how many times, test is lost Lose how many times, it might even be possible to further calculate the percentage etc. being successfully tested.
For example, needing A classmate to do 1,3,4,5,9 steps an existing testing process;B classmate is needed to do 2,6,7,8 steps, but A classmate finishes 1 step, in this case it is not apparent which data is 2 steps need, which is needed as a result, B classmate is same Sample does not know that 1 step can be transmitted through which content carried out yet, needs to pass from mouth to mouth, link up under line;
For A, the higher level of B classmate does not know A yet, and how concatenated the work of B classmate is, likewise, when A classmate from After duty, the test script and test document of A classmate transfers A ' classmate to, and the data of A ' classmate may be incomplete at this time, to B Classmate causes very big puzzlement;So thering is the working environment of unified standard to be important demand team (teamwork);
The test method based on team unity of the present embodiment, can overcome the above problem of the prior art, can be preparatory The testing process that at least two test scripts mark with ordinal relation is constituted is designed, when test, on test platform, is pressed Sequencing successively transfers each test script in testing process and identifies corresponding test script, avoids test user's It passes from mouth to mouth under line, and compared with existing flow testing, can effectively shorten length of testing speech, improve testing efficiency, and It is managed and maintained on entire test process line also very convenient.
The test method based on team unity of the present embodiment can be in test platform by using above-mentioned technical proposal Middle implementation process test, compared with the flow testing of the manual maintenance of the prior art, can be tested with implementation process on automatic on-line, Overcome the defect that existing flow testing is time-consuming, laborious, can effectively shorten the duration of flow testing, improves flow testing effect Rate;And entire test process can be very easy to use with maintenance and management on line.
Still optionally further, it " receives any test user in the step S300 of above-described embodiment and passes through corresponding test visitor Before the flow testing request that family end is initiated ", it can also include the following steps:
(a3), at least one testing process information that any test user is inputted by corresponding test client is received; It include corresponding testing process identification information and at least two test scripts with ordinal relation in each testing process information Identification information;
(b3), each testing process information is stored in workflow management module;
(c3), each test supported in each test scene information is shown to each test client in workflow management module Procedure information.
In practical application, each scene can correspond to a variety of different operating processes.For example, for scene of doing shopping, it is real Can be potentially encountered following operating process in the operation of border: selection article → place an order → wechat payment → successfully prompts;Select article → place an order → Alipay payment → successfully prompt;Selection article → place an order → pay the bill → Payment Failed → unsuccessfully prompts;Candidate Product → place an order → Alipay payment → successfully prompt → reimbursement success/unsuccessfully prompt etc..Therefore, in conjunction with practical application, for Each test scene can design all testing process for covering the test scene.Can using different process identifications come Identify different processes.In addition, for each testing process, such as " selection article → place an order → wechat payment → is successfully mentioned Show ", it include multiple links in testing process, the function of each link realizes a corresponding script, i.e. test script management module In test script.So each testing process may include that there is the mark of at least two test scripts of ordinal relation to believe The identification information of at least two test scripts with ordinal relation when practical operation, can be constituted a test script by breath Mark sequence, a testing process is identified by the mark sequence of test script.That is, each testing process includes tool There is the test of at least two test scripts of ordinal relation.
In the present embodiment, for the ease of test platform in the user's interaction page shown to each test client information Layout, testing process information can be stored in workflow management module.In this way show when, workflow management modules exhibit with In the interaction page of family, when test user clicks the workflow management module, further it can show that it includes every to test user The identification information at least two test scripts with ordinal relation for including in a testing process.And test in the prior art Process is manually managed and maintained by tester completely, and testing process is easy that card is disconnected, and connecting is poor.And according to the present embodiment The testing process stored in workflow management template executes the test of each test script according to sequencing, can be automatically real The test of existing testing process, does not need to pass from mouth to mouth and safeguard under line, can effectively improve the testing efficiency of testing process.
The test method based on team unity of the present embodiment, can be arranged testing process in test platform, to support Testing process does not have to complete on single machine as test users completely multiple and different in the prior art to test on the line of granularity Test, then pass through the test that manual maintenance testing process is just able to achieve testing process.Therefore, the technical solution of the present embodiment, energy The efficiency of flow testing is enough effectively improved, and is managed and maintained convenient for what is tested on line.
Fig. 4 is the flow chart of the test method example IV of the invention based on team unity.The present embodiment based on group Technical solution of the present invention is discussed in detail so that target detection content is target detection scene as an example in the test method of team's cooperation.Such as Shown in Fig. 4, the test method based on team unity of the present embodiment can specifically include following steps:
S400, the scrnario testing request that any test user is initiated by corresponding test client is received;The scene is surveyed The identification information of target detection scene to be tested is carried in examination request;
S401, according to corresponding target detection scene information in the identification information of target detection scene, scene management module, The corresponding target detection procedure information of corresponding target detection scene information and target detection process letter in workflow management module The identification information of corresponding each target detection script with ordinal relation, tests target detection scene, obtains in breath This scrnario testing result;
S402, this scrnario testing result is analyzed and processed, obtains target scene test result;
S403, the target scene test result that target detection scene is shown to each test client.
The technical solution of the present embodiment describes the test that a kind of test scene is granularity.Specifically, test user can After seeing the test scene that can be supported in the scene management module of test client, one of target detection can choose Scene is initiated scrnario testing request and is tested.In user's interaction page that test client is shown, survey can be clicked to enter It tries in management module, selection target test scene, clicks testing button, trigger scrnario testing.That is, on user's interaction circle In face, it can be clicked the button for each test scene setting test trigger button, user, corresponding target can be triggered Test scene, the present embodiment is by taking a test user triggers target detection scene as an example.
Accordingly, in test platform side, after receiving scrnario testing request, according to the identification information of target detection scene, Corresponding target detection scene information in scene management module, corresponding target detection scene information is corresponding in workflow management module Target detection procedure information and target detection procedure information in corresponding each target detection script with ordinal relation Identification information tests target detection scene, obtains this scrnario testing result.Specifically, test platform can first root According to scrnario testing request in target detection scene identification information, corresponding target detection field is obtained from scene management module Scape information;And then the corresponding target detection procedure information of the target scene is obtained from target detection scene information, it should be noted that , it, when a test scene is the test of granularity, may include to this that a test scene, which can correspond to multiple testing process, Multiple testing process under test scene are tested, i.e., the corresponding mesh of the target scene is obtained from target detection scene information It is the corresponding all testing process information of the target scene that mapping, which tries procedure information, and quantity can be multiple.Still further, Can from workflow management module obtain target detection procedure information in corresponding each target detection script with ordinal relation Identification information.Finally, testing each target detection process in the target scene, specifically, each target is surveyed Try process test, be according to the identification information of each target detection script for having ordinal relation in each target detection process, According to the sequence by elder generation after, the corresponding test foot of identification information of target detection script is successively transferred from script management module This is tested, until all flow testings in the target detection scene finish, obtains this scrnario testing result.With reference to upper The analysis mode for stating the script test result in embodiment illustrated in fig. 1 can analyze this scrnario testing result.If this All target detection processes of target detection scene are all successful in scape test, then it represents that are successfully tested, as long as otherwise there is a mesh Mark testing process does not pass through, then it represents that this target detection scene does not pass through test, test crash.
It similarly, still optionally further, can also be in conjunction with the test result of the target detection scene in history, in target scene Increase the target detection scene in history in test result and execute how many times test altogether, wherein being successfully tested how many times, test is lost Lose how many times, it might even be possible to further calculate the percentage etc. being successfully tested.
The test method based on team unity of the present embodiment can be in test platform by using above-mentioned technical proposal Middle realization scrnario testing, compared with the manual maintenance scrnario testing of the prior art, can to realize scrnario testing on automatic on-line, gram The defect that existing scrnario testing is time-consuming, laborious is taken, the duration of scrnario testing can be effectively shortened, improves scrnario testing effect Rate;And entire test process can be very easy to use with maintenance and management on line.
Still optionally further, it " receives any test user in the step S400 of above-described embodiment and passes through corresponding test visitor Before the scrnario testing request that family end is initiated ", it can also include the following steps:
(a4), at least one test scene information that any test user is inputted by corresponding test client is received; It include each testing process mark for including in each test scene information in corresponding test scene identification information and each test scene Know information;
(b4), each test scene information is stored in scene management module;
(c4), each test scene information for supporting scrnario testing is shown to each test client in scene management module.
In the present embodiment, test user can according to all scene informations that can be encountered in actual operations of project, Test scene information is set.It, can be with test scene identification information come the unique identification survey for each test scene information Examination hall scape.Test scene identification information can be identified using the function of scene, either can be combined with number or letter comes Mark, herein not affected restriction.In addition, being likely to be encountered different operation streams in actual operation for each test scene Journey, therefore can also include one, two or more testing process for each test scene.
In the present embodiment, for the ease of test platform in the user's interaction page shown to each test client information Layout, test scene information can be stored in scene management module.In this way show when, scene management modules exhibit with In the interaction page of family, when test user clicks the scene management module, further it can show that it includes each to test user A testing process.
The test method based on team unity of the present embodiment, can be arranged test scene in test platform, to support Test scene does not have to test on the line of granularity as in the prior art, a test scene needs multiple test users Test is completed on each leisure single machine, interaction is tested by passing from mouth to mouth, is just able to achieve the test of test scene.Therefore, this implementation The technical solution of example can effectively improve the efficiency of scrnario testing, and manage and maintain convenient for what is tested on line.
It may include surveying by above-described embodiment it is known that the test in the embodiment of the present invention is according to test granule size The test of training sheet, the test of testing process and the test of test scene, the test content that can be supported is relatively abundanter, and line Upper test is realized very simply, conveniently, and testing efficiency can be effectively improved.
Fig. 5 is the flow chart of the test method embodiment five of the invention based on team unity.It is real shown in above-mentioned Fig. 1-Fig. 4 Example is applied so that user triggers test request as an example, describes technical solution of the present invention.And the present embodiment is with preconfigured tester For drawing the test of configuration information automatic trigger, technical solution of the present invention is described.As shown in figure 5, the present embodiment based on team The test method of cooperation, can specifically include following steps:
Whether S500, detection current time are test opportunity in test plan configuration information in test plan module; If so, executing step S501;Otherwise return step S500 is continued to test;
S501, the test content in test plan configuration information is tested, obtains this content test result;
S502, this content test result is analyzed and processed, obtains object content test result;
S503, object content test result is shown to each test client.
The technical solution of the present embodiment, the realization tested automatically using preconfigured test plan configuration information. Specifically, in test plan module be configured with test plan configuration information when, need constantly to detect current time whether be The test opportunity in test plan configuration information in test plan module.If so, starting is in test plan configuration information Test content is tested, this content test result is obtained.Since the test content of the present embodiment can be above-mentioned related real Target detection script, target detection process or the target detection scene in example are applied, above-mentioned related embodiment can be referred in detail Record, details are not described herein.
Similarly, " this content test result is analyzed and processed, object content test result is obtained ", and " to each The specific implementation process of test client displaying object content test result ", can also refer to the record of above-mentioned related embodiment, Details are not described herein.
The test method based on team unity of the present embodiment can be based on matching in advance by using above-mentioned technical proposal The test plan configuration information set, realizes the test of test content,
The configuration of test plan, the test of test content can be realized automatically, with existing skill when the opportunity of test arrives Art, the test of pure manual control is compared, and can effectively be enriched the flexibility of test, be further increased the efficiency of test.And And the test process of the present embodiment all maintenance and managements on line, controllability is very strong, very easy to use.
Still optionally further, in the step S500 of above-mentioned embodiment illustrated in fig. 5, " whether detection current time is test plan Before the test opportunity in test plan configuration information in module ", it can also include the following steps:
(a5), the test plan configuration information that any test user is inputted by corresponding test client, the survey are received It tries the test opportunity for automatically beginning to test in program configuration information including configuration and test content, the test content includes to mesh Mark test, the test to the test of target detection scene or to target detection process of test script;
(b5), test plan configuration information is stored in test plan module;
(c5), test plan configuration information is shown to each test client in test plan module.
In the present embodiment, test plan configuration information is configured by test user, to realize the automatic trigger of test.The survey It tries in program configuration information to may include test opportunity, which can be periodic, such as daily test platform use Low-valley interval starting.Or test opportunity can also think any time to be tested for user.Or test opportunity can be with For some bands conditional opportunity, when reaching some threshold value such as trading volume or user's amount of access.Starting test.It can also basis Other test opportunitys are arranged in actual demand, and no longer citing repeats one by one herein.
In the present embodiment, the test content of test opportunity starting can be for the test of some target detection script, right The test of some target detection scene or test to some target detection process;Above-mentioned related embodiment can be referred in detail Record, details are not described herein.
It, can be with for the ease of the layout of test platform information in the user's interaction page shown to each test client Test plan configuration information is stored in test plan module.When showing in this way, test plan module can be shown in user In interaction page, when test user clicks the test plan module, test platform further can show its packet to test user The each test plan configuration information included.And user is tested when finding that test plan configuration information is wrong, it can also be to test Program configuration information is modified.For example, modification content, corresponding test can be inputted by test client by test user After platform receives the modification content of test user's input, according to modification content update test plan configuration information, and to each survey It tries client and shows modified test plan configuration information.In the present embodiment, one can be configured in test plan module simultaneously Item, two or a plurality of test plan configuration information, the present embodiment does not limit.
The test method based on team unity of the present embodiment can be real in test platform by using the above method The configuration of existing test plan, the test of test content can be realized automatically when the opportunity of test arrives, and the prior art, The test of pure manual control is compared, and can effectively be enriched the flexibility of test, be further increased the efficiency of test.And this reality The test process of example all maintenance and managements on line are applied, controllability is very strong, very easy to use.
Fig. 6 is the flow chart of the test method embodiment six of the invention based on team unity.The present embodiment based on group The test method of team's cooperation is further retouched in further detail on the basis of the technical solution of above-mentioned Fig. 1-Fig. 5 any embodiment State technical solution of the present invention.As shown in fig. 6, the test method based on team unity of the present embodiment, in above-described embodiment On the basis of, it can also include the following steps:
S600, the project that any test user is inputted by the mind map editing machine on corresponding test client is received Initial mind map information in test;
Such as the initial mind map information can be xml format.
S601, initial mind map information is parsed, the target mind map for making it be converted into being convenient for web displaying Information;
Such as the target mind map information can be the json format of tree.
S602, drafting simultaneously show target mind map information to each test client.
In the present embodiment, mind map editing machine, mind map editor can also be provided in each test client Device inputs the entrance of initial mind map information as test user in test client, can receive test user and uses The initial mind map information that the tools such as xmind, freemind are drawn, the initial mind map information preservation data output are Xml format.Then initial mind map information is sent to test platform by test client.Accordingly, in test platform The dom4j parsing i.e. initial mind map information of xml document can be used in mind map engine, converts thereof into convenient for web displaying Tree construction, the specific method is as follows: finding<map>label first, then traverses child node below, finds<node>mark Label, first node label are determined as the root node of creation tree;The new root node of recursive traversal finds<node>label, will< Node>label data records the attribute inside<node>label, including its text as its child node, leaf direction, son Whether node the information such as is unfolded;Modifyid is denoted as to the nodeid of new tree node, the nodeid can guarantee it is globally unique, most Saving neotectonics tree construction afterwards is json format.By the json file after parsing, that is, target mind map information preservation in database In, data structure is tree-model, uses canvas technology in web page, draws the target mind map information.It is handed in user In the mutual page, the operation to page mind map, i.e., to the operation of the tree-model, modifying result can be saved into database, To be shown in time when needing to present.
Further, since the mind map that target mind map information is the project designs, naturally including the project Test design, therefore, in the present embodiment, can also increase the target script in above-described embodiment in target mind map information Test result, target scene test result, and/or target process test result.
The test method based on team unity of the present embodiment can provide the exhibition that the mind map of project is set for user Show, though can allow all test clients for participating in the projects user, even other be not involved in test, but can also log in To the project participating user of test platform, the mind map information of project can be seen in real time, each for being familiar with the project is set Meter, provides information more abundant for user, very easy to use.
Fig. 7 is the flow chart of the test method embodiment seven of the invention based on team unity.The present embodiment based on group The test method of team's cooperation is further retouched in further detail on the basis of the technical solution of above-mentioned Fig. 1-Fig. 6 any embodiment State technical solution of the present invention.As shown in fig. 7, the test method based on team unity of the present embodiment, in above-described embodiment On the basis of, it can also include the following steps:
S700, Team Management's information in the project that any test user is inputted by corresponding test client is received, It include the mark of all users involved in project, the function of each user and participation test script in Team Management's information The identification information for the test script that each user of work is responsible for;
S701, Team Management's information of project is stored in Team Management's module;
S702, the Team Management's information for showing project to each test client in Team Management's module.
In the present embodiment, Team Management's letter of project can also be shown in user's interaction page that test client is shown Breath.The testing scheme of the team unity of the present embodiment can use project for the management of dimension, and test user is logged in by account After test platform, what the information that test platform is shown in user's interaction page to test user, only test user participated in Project.For example, the item association that can be participated in account used in the login for testing user and user in test platform.
Team Management's information of the present embodiment may include the mark of all users in team involved by the project Information, the identification information of user can be Real Name perhaps user's number in the project or the Real Name of the user Add number, in short, being capable of the user in unique identification project participant.It can also include every in Team Management's information The function such as research staff or tester of a user in the project.Team Management's information can also record participation test script The identification information for the test script that each user of work is responsible for.That is, if administrative staff, it can in Team Management's information Add function of the user in the project only to record the identification information of the user.It, can be with according to the function of each user Determine the professional level framework of personnel in the team of the project.If it is the direct participant of test script such as research staff or test Personnel can also record the mark letter for participating in the test script that the user that test script works is responsible in Team Management's information Breath, in this way, tested always when the error occurs in test script, it can be rapidly fixed in time in order to the responsible person of the test script Position problem.
For the ease of the layout of test platform information in the user's interaction page shown to each test client, this reality It applies in example, Team Management's information can be stored and shows in Team Management's module.When showing in this way, Team Management's module It can show in user's interaction page, when test user clicks Team Management's module, test platform can be further to survey Family on probation shows Team Management's information, so that test user can determine all of the project according to Team Management's information The identification information for the test script that participant and its responsibility and each user for participating in test script work are responsible for.
The test method based on team unity of the present embodiment, can show Team Management's information on line, rather than picture Shown in the prior art, Team Management's information is just only learnt by passing from mouth to mouth.Therefore, the technical solution of the present embodiment, energy It is enough to provide information more abundant on line for user, it is very easy to use.
Fig. 8 is the flow chart of the test method embodiment eight of the invention based on team unity.The present embodiment based on group The test method of team's cooperation is further retouched in further detail on the basis of the technical solution of above-mentioned Fig. 1-Fig. 7 any embodiment State technical solution of the present invention.As shown in figure 8, the test method based on team unity of the present embodiment, in above-described embodiment On the basis of, it can also include the following steps:
S800, Project Management Information in the project that any test user is inputted by corresponding test client is received, It include the design and management information of project in the Project Management Information;
S801, Project Management Information is stored in project management module;
S802, in project management module to each test client show Project Management Information.
In the present embodiment, the project management letter of project can also be shown in user's interaction page that test client is shown Breath.
It may include the design and management information of the project in the Project Management Information of the present embodiment, allow users to See Project Management Information abundant.
For the ease of the layout of test platform information in the user's interaction page shown to each test client, this reality It applies in example, Project Management Information can be stored and shows in project management module.When showing in this way, project management module It can show in user's interaction page, when test user clicks the project management module, test platform can be further to survey Family on probation shows the Project Management Information, enables test user to get Project Management Information from line, use is very square Just.
The test method based on team unity of the present embodiment, can show Project Management Information on line, rather than picture Shown in the prior art, Project Management Information is just only learnt by passing from mouth to mouth.Therefore, the technical solution of the present embodiment, energy It is enough to provide information more abundant on line for user, it is very easy to use.
In above-described embodiment, test method of Fig. 1-embodiment illustrated in fig. 8 based on team unity, can use can be combined Mode any combination, form test platform side of the invention.Alternative embodiment, no longer citing repeats one by one herein.
In above-described embodiment, Fig. 1-embodiment illustrated in fig. 8 describes of the invention based on team unity in test platform side Test method.By the description of above-described embodiment, it is recognised that the use that the test platform of the present embodiment is shown to test client The layout of family interaction page can be set to pattern shown in Fig. 9.As shown in figure 9, be a kind of example of user's interaction page, it should User's interaction page can be the information that test platform is shown to test client.As shown in figure 9, test platform can will be shown Information be divided into personal management, task management, four bulk of task execution.It wherein may include Team Management's module in personal management And project management module, the module testing user of each display can click into, it can be seen that corresponding Team Management The displaying of information and corresponding Project Management Information.Accordingly, scene management module, test can be set in task management Schedule module, script management module and workflow management module are clicked in each module and enter it can be seen that its phase for including Answer content.It such as tests user and clicks to enter scene management module, it can be seen that test the scene information of user setting, test user Several scenes information can be set according to demand, one, two can be arranged according to scene demand for each scene information Or a plurality of testing process.Then in workflow management module, click is entered it can be seen that each testing process specifically includes With ordinal relation test script mark, that is to say, that multiple test scripts test in sequence may be implemented one survey Process is tried, each testing process can correspond to the scene in an application.In script management module, test user click into It goes, it can be seen that multiple scripts test information, and test user can also test information to these scripts and modify.
As shown in figure 9, being also provided with mind map editing machine and mind map engine, thinking in task management Leading Graph editor is the entrance tested user and input mind map, and mind map engine is the initial mind map exported to user It is parsed, generates simultaneously displaying target mind map information.The record of above-mentioned related embodiment can be referred in detail, herein no longer It repeats.
As shown in figure 9, test script editing machine is the entrance of user's input test use-case in task execution, foot is tested This engine may be implemented to the editor of the test script in test case and execute the configuration of test script, and to executing test The test of script triggers, and realizes the test to test script.As a result collection module is counted for collecting all test results Module is calculated for analyzing test result and showing, the record of above-mentioned related embodiment can be referred in detail.
Above-mentioned Fig. 9 is only a kind of exemplary diagram of user's interaction page of test client side provided in this embodiment, practical In, it can also be shown using other layouts, either certain module can also be split or be merged, herein no longer Citing repeats one by one.
And pass through experimental verification, the technical solution of above-described embodiment can support hundreds of people to test team, for Life Cycle The test of the frequent high efficiency products of phase iteration, also can be very good to support.Therefore, the test based on team unity of the present embodiment Scheme, can complete the test of various test scripts, testing process and test scene, test mode very flexibly, practicability It is very strong.
Figure 10 is the flow chart of the test method embodiment ten of the invention based on team unity.As shown in Figure 10, this reality The test method based on team unity for applying example, can specifically include following steps:
S1000, the test request that test user triggers is received, carries target detection content to be tested in the test request Identification information;
Whether test client can pass through the associated button triggering test request of user interface with constant testing user, If detecting, the test request of test user's triggering is received.
S1001, test request is sent to test platform, so that test platform is according to the identification information of target detection content, Corresponding target detection content is tested, this content test result is obtained;This content test result is analyzed Processing, obtains object content test result;And the object content test result of target detection content is shown to each test client.
The present embodiment and the difference of above-mentioned embodiment illustrated in fig. 1 are that the present embodiment describes this hair in test client side Bright technical solution, and above-mentioned embodiment illustrated in fig. 1 describes technical solution of the present invention in test platform side.Specific embodiment And implementation result, the record of above-mentioned embodiment illustrated in fig. 1 can be referred in detail, and details are not described herein.
Figure 11 is the flow chart of the test method embodiment 11 of the invention based on team unity.The present embodiment based on The test method of team unity, on the basis of above-mentioned embodiment illustrated in fig. 10, using target detection content as target detection script For, technical solution of the present invention is described.As shown in figure 11, the test method based on team unity of the present embodiment, specifically may be used To include the following steps:
S1100, the script test request that test user triggers is received, carries target to be tested in the script test request The identification information of test script;
Whether test client can pass through the associated button triggering script test of user interface with constant testing user Request receives the script test request of test user's triggering if detecting.
S1101, script test request is sent to test platform, so that test platform is believed according to the mark of target detection script Breath, tests target detection script corresponding in script management module, obtains this script test result;To this script Test result is analyzed and processed, and obtains target script test result;And target detection script is shown to each test client Target script test result.
The present embodiment and the difference of above-mentioned embodiment illustrated in fig. 2 are that the present embodiment describes this hair in test client side Bright technical solution, and above-mentioned embodiment illustrated in fig. 2 describes technical solution of the present invention in test platform side.Specific embodiment And implementation result, the record of above-mentioned embodiment illustrated in fig. 2 can be referred in detail, and details are not described herein.
Still optionally further, above-mentioned embodiment illustrated in fig. 11 step S1100 " receive test user triggering script Before test request ", it can also include the following steps:
(a6), the test case that test user is inputted by test case editing machine is received;It include surveying in the test case Try script information, the configuration information of test script and the desired effect of test script;It include test foot in test script information The identification information of this and script;
(b6), test case is sent to test platform, so that test case is stored in script management module by test platform In;And the test case for supporting script to test is shown to each test client in script management module.
Specific embodiment and implementation result can refer to the record of above-mentioned embodiment illustrated in fig. 2 in detail, no longer superfluous herein It states.
Figure 12 is the flow chart of the test method embodiment 12 of the invention based on team unity.The present embodiment based on The test method of team unity, on the basis of above-mentioned embodiment illustrated in fig. 10, using target detection content as target detection process For, technical solution of the present invention is described.As shown in figure 12, the test method based on team unity of the present embodiment, specifically may be used To include the following steps:
S1200, the flow testing request for receiving test user's triggering;Target to be tested is carried in flow testing request The identification information of testing process;
Whether test client can pass through the associated button trigger flow test of user interface with constant testing user Request receives the flow testing request of test user's triggering if detecting.
S1201, to test platform transmission flow test request, so that test platform is believed according to the mark of target detection process Breath corresponding in corresponding target detection procedure information and target detection procedure information in workflow management module there is sequence to close The identification information of each target detection script of system, tests target detection process, obtains this flow testing result;To this Secondary flow testing result is analyzed and processed, and obtains target process test result;And target detection is shown to each test client The target process test result of process.
Still optionally further, in the step S1200 of above-described embodiment " the flow testing request for receiving test user's triggering " Before, can also include the following steps:
(a7), at least one testing process information of test user's input is received;It include corresponding in each testing process information Testing process identification information and at least two test scripts with ordinal relation identification information;
(b7), each testing process information is sent to test platform, so that test platform deposits each testing process information Storage is in workflow management module;And it shows in each test scene information and is supported to each test client in workflow management module Each testing process information.
The present embodiment and the difference of above-mentioned embodiment illustrated in fig. 3 are that the present embodiment describes this hair in test client side Bright technical solution, and above-mentioned embodiment illustrated in fig. 3 describes technical solution of the present invention in test platform side.Specific embodiment And implementation result, the record of above-mentioned embodiment illustrated in fig. 3 can be referred in detail, and details are not described herein.
Figure 13 is the flow chart of the test method embodiment 13 of the invention based on team unity.The present embodiment based on The test method of team unity, on the basis of above-mentioned embodiment illustrated in fig. 10, using target detection content as target detection scene For, technical solution of the present invention is described.As shown in figure 13, the test method based on team unity of the present embodiment, specifically may be used To include the following steps:
S1300, the scrnario testing request for receiving test user's triggering;Target to be tested is carried in scrnario testing request The identification information of test scene;
Whether test client can pass through the associated button triggering scrnario testing of user interface with constant testing user Request receives the scrnario testing request of test user's triggering if detecting.
S1301, scrnario testing request is sent to test platform, so that test platform is believed according to the mark of target detection scene Breath, corresponding target detection scene information in scene management module, corresponding target detection scene information in workflow management module Corresponding each target detection foot with ordinal relation in corresponding target detection procedure information and target detection procedure information This identification information, tests target detection scene, obtains this scrnario testing result;To this scrnario testing result into Row analysis processing, obtains target scene test result;And show that the target scene of target detection scene is surveyed to each test client Test result.
Still optionally further, before the step S1300 " the scrnario testing request for receiving test user's triggering " of the present embodiment, It can also include the following steps:
(a8), at least one test scene information of test user's input is received;It include corresponding in each test scene information Test scene identification information and each test scene in include each testing process identification information;
(b8), each test scene information is sent to test platform, so that each test scene information is stored in by test platform In scene management module;And each test scene letter for supporting scrnario testing is shown to each test client in scene management module Breath.
The present embodiment and the difference of above-mentioned embodiment illustrated in fig. 4 are that the present embodiment describes this hair in test client side Bright technical solution, and above-mentioned embodiment illustrated in fig. 4 describes technical solution of the present invention in test platform side.Specific embodiment And implementation result, the record of above-mentioned embodiment illustrated in fig. 4 can be referred in detail, and details are not described herein.
Figure 14 is the flow chart of the test method embodiment 14 of the invention based on team unity.The present embodiment based on The test method of team unity, on the basis of the technical solution of above-mentioned Figure 10-13 illustrated embodiment, further in further detail Introduce technical solution of the present invention.As shown in figure 14, the test method based on team unity of the present embodiment can also include such as Lower step:
S1400, the test plan configuration information that test user inputs is received, includes configuration in the test plan configuration information Automatically begin to test test opportunity and test content, test content include the test to target detection script, to target survey The test of examination hall scape or test to target detection process;
S1401, test plan configuration information is sent to test platform, so that test platform deposits test plan configuration information Storage is in test plan module;And test plan configuration information is shown to each test client in test plan module.
The present embodiment and the difference of above-mentioned embodiment illustrated in fig. 5 are that the present embodiment describes this hair in test client side Bright technical solution, and above-mentioned embodiment illustrated in fig. 5 describes technical solution of the present invention in test platform side.Specific embodiment And implementation result, the record of above-mentioned embodiment illustrated in fig. 5 can be referred in detail, and details are not described herein.
Figure 15 is the flow chart of the test method embodiment 15 of the invention based on team unity.The present embodiment based on The test method of team unity, on the basis of the technical solution of above-mentioned Figure 10-14 illustrated embodiment, further in further detail Introduce technical solution of the present invention.As shown in figure 15, the test method based on team unity of the present embodiment can also include such as Lower step:
S1500, the initial mind map received in the project testing that test user is inputted by mind map editing machine are believed Breath;
Such as the initial mind map information can be xml format.
S1501, send initial mind map information to test platform, for test platform to initial mind map information into Row parsing, the target mind map information for making it be converted into being convenient for web displaying;It draws and shows target to each test client Mind map information.
Such as the target mind map information can be the json format of tree.
The present embodiment and the difference of above-mentioned embodiment illustrated in fig. 6 are that the present embodiment describes this hair in test client side Bright technical solution, and above-mentioned embodiment illustrated in fig. 6 describes technical solution of the present invention in test platform side.Specific embodiment And implementation result, the record of above-mentioned embodiment illustrated in fig. 6 can be referred in detail, and details are not described herein.
Figure 16 is the flow chart of the test method embodiment 16 of the invention based on team unity.The present embodiment based on The test method of team unity, on the basis of the technical solution of above-mentioned Figure 10-15 illustrated embodiment, further in further detail Introduce technical solution of the present invention.As shown in figure 21, the test method based on team unity of the present embodiment can also include such as Lower step:
S1600, the Team Management's information tested in the project that user inputs is received, includes project in Team Management's information In the involved mark of all users, the function of each user and participate in the survey that each user of test script work is responsible for The identification information of training sheet;
S1601, Team Management's information is sent to test platform, so that test platform stores Team Management's information of project In Team Management's module;And Team Management's information of project is shown to each test client in Team Management's module.
The present embodiment and the difference of above-mentioned embodiment illustrated in fig. 7 are that the present embodiment describes this hair in test client side Bright technical solution, and above-mentioned embodiment illustrated in fig. 7 describes technical solution of the present invention in test platform side.Specific embodiment And implementation result, the record of above-mentioned embodiment illustrated in fig. 7 can be referred in detail, and details are not described herein.
Figure 17 is the flow chart of the test method embodiment 17 of the invention based on team unity.The present embodiment based on The test method of team unity, on the basis of the technical solution of above-mentioned Figure 10-16 illustrated embodiment, further in further detail Introduce technical solution of the present invention.As shown in figure 22, the test method based on team unity of the present embodiment can also include such as Lower step:
S1700, the Project Management Information tested in the project that user inputs is received, includes project in the Project Management Information Design and management information;
S1701, Project Management Information is sent to test platform, so that Project Management Information is stored in project by test platform In management module;Project Management Information is shown to each test client in project management module.
The present embodiment and the difference of above-mentioned embodiment illustrated in fig. 8 are that the present embodiment describes this hair in test client side Bright technical solution, and above-mentioned embodiment illustrated in fig. 8 describes technical solution of the present invention in test platform side.Specific embodiment And implementation result, the record of above-mentioned embodiment illustrated in fig. 8 can be referred in detail, and details are not described herein.
In above-described embodiment, test method of Figure 10-embodiment illustrated in fig. 18 based on team unity, can use can be tied Mode any combination of conjunction forms the alternative embodiment of test client side of the invention, and no longer citing repeats one by one herein.
Figure 18 is the structure chart of the test platform embodiment one of the invention based on team unity.As shown in figure 18, this reality The test platform based on team unity for applying example, can specifically include:
Receiving module 10 is used to receive the test request that test user is initiated by corresponding test client, which asks Seek the middle identification information for carrying target detection content to be tested;
The mark for the target detection content in test request that testing engine module 11 is used to be received according to receiving module 10 Know information, corresponding target detection content is tested, this content test result is obtained;
Analysis and processing module 12 is used to be analyzed and processed this content test result that testing engine module 11 obtains, Obtain object content test result;
Display module 13 is used to show that analysis and processing module 12 handles obtained target detection content to each test client Object content test result.
The test platform based on team unity of the present embodiment realizes the survey based on team unity by using above-mentioned module Examination, it is identical as the realization principle of above-mentioned related method embodiment and technical effect, it in detail can be real with reference to above-mentioned correlation technique The record of example is applied, details are not described herein.
Figure 19 is the structure chart of the test platform embodiment two of the invention based on team unity.As shown in figure 18, this reality Apply example based on the test platform of team unity on the basis of the technical solution of above-mentioned embodiment illustrated in fig. 18, further more Technical solution of the present invention is introduced in detail.
In the test platform based on team unity of the present embodiment, if receiving module 10 is also used to the target detection content When including target detection script, receives at least two test users and compiled respectively by the test case on corresponding test client The test case for collecting device input, collects at least two test cases;It include test script information, test foot in each test case The desired effect of configuration information originally and test script;It include the mark of test script and test script in test script information Information;
It as shown in figure 19, further include memory module 14 in the test platform based on team unity of the present embodiment.The storage Each test case that module 14 is used to receive receiving module 10 is stored in script management module;
Display module 13 is also used to show each survey for supporting script to test to each test client in script management module Example on probation.
Still optionally further, in the test platform based on team unity of the present embodiment, testing engine module 11 is specifically used In:
According to the identification information of target detection script, corresponding target detection use-case is obtained from script management module;
Target detection script in target detection use-case is compiled;
According to the configuration information in target detection use-case and the target detection script after compiling, generates target and execute test foot This;
Test script is executed to target to test, and obtains this script test result.
Still optionally further, in the test platform based on team unity of the present embodiment, analysis and processing module 12 is specifically used In:
Collect this script test result;
According to the desired effect of the target detection script in target detection use-case, this script test result is analyzed Processing, obtains target script test result,
Still optionally further, analysis and processing module 12 is specifically also used to the historic test results of combining target test script, This script test result is analyzed and processed, target script test result is obtained.
Still optionally further, in the test platform based on team unity of the present embodiment, testing engine module 11 is also used to If target detection content includes target detection process, according to right in the identification information of target detection process, workflow management module Corresponding each target detection script with ordinal relation in the target detection procedure information and target detection procedure information answered Identification information, target detection process is tested, this flow testing result is obtained.
Still optionally further, in the test platform based on team unity of the present embodiment, receiving module 10 is also used to receive At least one testing process information that any test user is inputted by corresponding test client;It is wrapped in each testing process information Include the identification information of corresponding testing process identification information and at least two test scripts with ordinal relation;
Memory module 14 is also used to for the received each testing process information of receiving module 10 being stored in workflow management module;
Display module 13 is also used in workflow management module show institute in each test scene information to each test client Each testing process information supported.
Still optionally further, in the test platform based on team unity of the present embodiment, testing engine module 11 is also used to If target detection content includes target detection scene, according to right in the identification information of target detection scene, scene management module The corresponding target detection process letter of corresponding target detection scene information in the target detection scene information answered, workflow management module The identification information of corresponding each target detection script with ordinal relation in breath and target detection procedure information, surveys target Examination hall scape is tested, this scrnario testing result is obtained.
Still optionally further, in the test platform based on team unity of the present embodiment, receiving module 10 is also used to receive At least one test scene information that any test user is inputted by corresponding test client;It is wrapped in each test scene information Include each testing process identification information for including in corresponding test scene identification information and each test scene;
Memory module 14 is also used to for each test scene information being stored in scene management module;
Display module 13 is also used to show each survey for supporting scrnario testing to each test client in scene management module Try scene information.
It still optionally further, as shown in figure 19, further include detection in the test platform based on team unity of the present embodiment Module 15:
Detection module 15 is used to detect whether current time to be in test plan configuration information in test plan module Test opportunity;
It is detected if testing engine module 11 is also used to detection module 15, to the test content in test plan configuration information It is tested, obtains this content test result;
Analysis and processing module 12 is also used to be analyzed and processed this content test result, obtains object content test knot Fruit;
Display module 13 is also used to show object content test result to each test client.
Still optionally further, in the test platform based on team unity of the present embodiment, receiving module 10 is also used to receive Any test plan configuration information for being inputted by corresponding test client of test user includes in test plan configuration information The test opportunity for automatically beginning to test of configuration and test content, test content include the test to target detection script, to mesh Mark the test of test scene or the test to target detection process;
Memory module 14 is also used to for test plan configuration information being stored in test plan module;
Display module 13 is also used in test plan module show test plan configuration information to each test client.
It still optionally further, as shown in figure 19, further include thinking in the test platform based on team unity of the present embodiment Lead figure engine modules 16.
Receiving module 10 is also used to receive any test user and passes through the mind map editor on corresponding test client Initial mind map information in the project testing of device input;Initial mind map information is xml format;
The initial mind map information that mind map engine modules 16 are also used to receive receiving module 10 parses, The target mind map information for making it be converted into being convenient for web displaying, target mind map information are the json lattice of tree Formula;
Display module 13 is also used to draw and shows the target that mind map engine modules 16 obtain to each test client Mind map information.
Still optionally further, mind map engine modules 16 are also used to increase target script in target mind map information Test result, target scene test result, and/or target process test result.
Still optionally further, in the test platform based on team unity of the present embodiment, receiving module 10 is also used to receive Team Management's information in project that any test user is inputted by corresponding test client includes in Team Management's information Each user of the involved mark of all users, the function of each user and participation test script work is responsible in project The test script identification information;
Memory module 14 is also used to for Team Management's information of project being stored in Team Management's module;
Display module 13 is also used to show the team of the project to each test client in Team Management's module Management information.
Still optionally further, in the test platform based on team unity of the present embodiment, receiving module 10 is also used to receive The Project Management Information in project that any test user is inputted by corresponding test client includes in Project Management Information The design and management information of project;
Memory module 14 is also used to for Project Management Information being stored in project management module;
Display module 13 is also used in project management module show Project Management Information to each test client.
In the test platform based on team unity of the present embodiment, above-mentioned all optional ways can form this in any combination The alternative embodiment of invention, no longer citing repeats one by one herein.
The test platform based on team unity of the present embodiment realizes the survey based on team unity by using above-mentioned module Examination, it is identical as the realization principle of above-mentioned related method embodiment and technical effect, it in detail can be real with reference to above-mentioned correlation technique The record of example is applied, details are not described herein.
Figure 20 is the structure chart of test client embodiment of the invention.As shown in figure 20, the test client of the present embodiment End, can specifically include:
Receiving module 20 is used to receive the test request of test user's triggering, carries target to be tested in test request and surveys Try the identification information of content;
Sending module 21 is used for the test request transmitted and received to test platform, so that test platform is according to target detection The identification information of content tests corresponding target detection content, obtains this content test result;This content is surveyed Test result is analyzed and processed, and obtains object content test result;And the mesh of target detection content is shown to each test client Mark content test result.
Still optionally further, in the test client of the present embodiment, if receiving module 20 is also used to target detection content packet When including target detection script, the test case that test user is inputted by test case editing machine is received;Include in test case The desired effect of test script information, the configuration information of test script and test script;It include test in test script information The identification information of script and test script;
Sending module 21 is also used to the received test case of test platform sending/receiving module 20, so that test platform will Test case is stored in script management module;And it is shown in script management module to each test client and supports script test Each test case.
Still optionally further, in the test client of the present embodiment, if receiving module 20 is also used to target detection content packet When including target detection process, at least one testing process information of test user's input is received;Include in each testing process information The identification information of corresponding testing process identification information and at least two test scripts with ordinal relation;
Sending module 21 is also used to send each testing process information to test platform, so that test platform is by each testing process Information is stored in workflow management module;And it is shown in each test scene information in workflow management module to each test client Each testing process information supported.
Still optionally further, in the test client of the present embodiment, if receiving module 20 is also used to target detection content packet When including target detection scene, at least one test scene information of test user's input is received;Include in each test scene information Each testing process identification information for including in corresponding test scene identification information and each test scene;
Sending module 21 is also used to send each test scene information to test platform, so that test platform is by each test scene Information is stored in scene management module;And it is shown in scene management module to each test client and supports each of scrnario testing Test scene information.
Still optionally further, in the test client of the present embodiment, receiving module 20 is also used to receive test user's input Test plan configuration information, include in the test opportunity for automatically beginning to test and test of configuration in test plan configuration information Hold, test content includes the test to target detection script, to the test of target detection scene or to target detection process Test;
Sending module 21 is also used to send test plan configuration information to test platform, so that test platform is by test plan Configuration information is stored in test plan module;And test plan configuration is shown to each test client in test plan module Information.
Still optionally further, in the test client of the present embodiment, receiving module 20 is also used to receive test user and passes through Initial mind map information in the project testing of mind map editing machine input;Initial mind map information is xml format;
Sending module 21 is also used to send initial mind map information to test platform, so that test platform is to initial thinking It leads figure information to be parsed, the target mind map information for making it be converted into being convenient for web displaying, target mind map information is The json format of tree;It draws and shows target mind map information to each test client.
Still optionally further, in the test client of the present embodiment, receiving module 20 is also used to receive test user's input Project in Team Management's information, include the mark of all users involved in project in Team Management's information, each use The identification information for the test script that the function at family and each user for participating in test script work are responsible for;
Sending module 21 is also used to send Team Management's information to test platform, so that test platform is by the group of project Team's management information is stored in Team Management's module;And the team of project is shown to each test client in Team Management's module Management information.
Still optionally further, in the test client of the present embodiment, receiving module 20 is also used to receive test user's input Project in Project Management Information, include the design and management information of project in Project Management Information;
Sending module 21 is also used to send Project Management Information to test platform, so that test platform is by Project Management Information It is stored in project management module;Project Management Information is shown to each test client in project management module.
In the test client of the present embodiment, above-mentioned all optional ways can form optional reality of the invention in any combination Example is applied, no longer citing repeats one by one herein.
The test client of the present embodiment realizes the test based on team unity by using above-mentioned module, with above-mentioned phase Realization principle and the technical effect for closing embodiment of the method are identical, can refer to the record of above-mentioned related method embodiment in detail, Details are not described herein.
Figure 21 is the structure chart of the test macro embodiment provided by the invention based on team unity.As shown in figure 21, originally The test macro based on team unity of embodiment tests clients including the test platform 30 and at least two based on team unity End 40;Test platform 30 and each test client 40 based on team unity communicate to connect.
And the test platform 30 based on team unity in the present embodiment can be using real as shown in figure 18 above or Figure 19 The test platform of example is applied, the test client 40 in the present embodiment can be whole using the test such as above-mentioned embodiment illustrated in fig. 20 End, and specifically can realize using such as test method of the figure 1 above-embodiment illustrated in fig. 17 based on team unity and be based on team The test of cooperation can refer to the record of above-mentioned related embodiment in detail, and details are not described herein.
Figure 22, which shows an embodiment according to the present invention, can be used for realizing based on the above-mentioned test method by team unity Calculate the structural schematic diagram of equipment.
Referring to fig. 22, calculating equipment 1000 includes memory 1010 and processor 1020.
Processor 1020 can be the processor of a multicore, also may include multiple processors.In some embodiments, Processor 1020 may include a general primary processor and one or more special coprocessors, such as graphics process Device (GPU), digital signal processor (DSP) etc..In some embodiments, the circuit reality of customization can be used in processor 1020 It is existing, such as application-specific IC (ASIC, Application Specific Integrated Circuit) or scene Programmable gate array (FPGA, Field Programmable Gate Arrays).
Memory 1010 may include various types of storage units, such as Installed System Memory, read-only memory (ROM), and Permanent storage.Wherein, static data that other modules that ROM can store processor 1020 or computer need or Instruction.Permanent storage can be read-write storage device.Permanent storage can be after computer circuit breaking The non-volatile memory device of the instruction and data of storage will not be lost.In some embodiments, permanent storage device is adopted Use mass storage device (such as magnetically or optically disk, flash memory) as permanent storage.In other embodiment, permanently Storage device can be removable storage equipment (such as floppy disk, CD-ROM drive).Installed System Memory can be read-write storage equipment or The read-write storage equipment of person's volatibility, such as dynamic random access memory.Installed System Memory can store some or all processing The instruction and data that device needs at runtime.In addition, memory 1010 may include the group of any computer readable storage medium It closes, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read only memory), disk And/or CD can also use.In some embodiments, memory 1010 may include readable and/or write removable Store equipment, such as laser disc (CD), read-only digital versatile disc (such as DVD-ROM, DVD-dual layer-ROM), read-only indigo plant Light CD, super disc density, flash card (such as SD card, min SD card, Micro-SD card etc.), magnetic floppy disc etc..It calculates Machine readable storage medium does not include carrier wave and the momentary electron signal by wirelessly or non-wirelessly transmitting.
It is stored with executable code on memory 1010, when executable code is handled by processor 1020, can make to locate Reason device 1020 executes the test method based on team unity addressed above.
The test according to the present invention based on team unity above is described in detail by reference to attached drawing.
In addition, being also implemented as a kind of computer program or computer program product, the meter according to the method for the present invention Calculation machine program or computer program product include the calculating for executing the above steps limited in the above method of the invention Machine program code instruction.
Alternatively, the present invention can also be embodied as a kind of (or the computer-readable storage of non-transitory machinable medium Medium or machine readable storage medium), it is stored thereon with executable code (or computer program or computer instruction code), When the executable code (or computer program or computer instruction code) by electronic equipment (or calculate equipment, server Deng) processor execute when, so that the processor is executed each step according to the above method of the present invention.
Those skilled in the art will also understand is that, various illustrative logical blocks, mould in conjunction with described in disclosure herein Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.
The flow chart and block diagram in the drawings show the possibility of the system and method for multiple embodiments according to the present invention realities Existing architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a journey A part of sequence section or code, a part of the module, section or code include one or more for realizing defined The executable instruction of logic function.It should also be noted that in some implementations as replacements, the function of being marked in box can also To be occurred with being different from the sequence marked in attached drawing.For example, two continuous boxes can actually be basically executed in parallel, They can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or stream The combination of each box in journey figure and the box in block diagram and or flow chart, can the functions or operations as defined in executing Dedicated hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In the principle, practical application or improvement to the technology in market for best explaining each embodiment, or make the art Other those of ordinary skill can understand each embodiment disclosed herein.

Claims (49)

1. a kind of test method based on team unity, which is characterized in that the described method includes:
The test request that test user is initiated by corresponding test client is received, is carried in the test request to be tested The identification information of target detection content;
According to the identification information of the target detection content, corresponding target detection content is tested, this content is obtained Test result;
This described content test result is analyzed and processed, object content test result is obtained;
The object content test result of the target detection content is shown to each test client.
2. the method according to claim 1, wherein if the target detection content includes target detection script When, before receiving the test request that test user is initiated by corresponding test client, the method also includes:
It is defeated by the test case editing machine on the corresponding test client respectively to receive at least two test users The test case entered collects at least two test cases;It include test script information, the test in each test case The desired effect of the configuration information of script and the test script;It include test script and test in the test script information The identification information of script;
Each test case received is stored in script management module;
Each test case for supporting script to test is shown to each test client in the script management module.
3. according to the method described in claim 2, it is characterized in that, according to the identification information of the target detection content, to right The target detection content answered is tested, this content test result is obtained, comprising:
According to the identification information of the target detection script, the corresponding target detection is obtained from the script management module Use-case;
The target detection script in the target detection use-case is compiled;
According to the configuration information in the target detection use-case and the target detection script after compiling, generates target and hold Row test script;
Test script is executed to the target to test, and obtains this described script test result.
4. according to the method described in claim 3, it is characterized in that, be analyzed and processed to this described content test result, Obtain object content test result, comprising:
Collect this described script test result;
According to the desired effect of the target detection script in the target detection use-case, this described script test result is carried out Analysis processing, obtains the target script test result.
5. according to the method described in claim 4, it is characterized in that, be analyzed and processed to this described content test result, Obtain object content test result, further includes:
In conjunction with the historic test results of the target detection script, this described script test result is analyzed and processed, is obtained To the target script test result.
6. the method according to claim 1, wherein if the target detection content includes target detection process When, according to the identification information of the target detection content, corresponding target detection content is tested, obtains the survey of this content Test result, comprising:
According to the target detection procedure information corresponding in the identification information of the target detection process, workflow management module with And in the target detection procedure information corresponding each target detection script with ordinal relation identification information, to the mesh Mark testing process is tested, this described flow testing result is obtained.
7. according to the method described in claim 6, being initiated it is characterized in that, receiving test user by corresponding test client Test request before, the method also includes:
It receives any test user and passes through at least one testing process information of the corresponding test client input;Respectively It include corresponding testing process identification information and at least two surveys with ordinal relation in the testing process information The identification information of training sheet;
Each testing process information is stored in workflow management module;
Show in the workflow management module to each test client supported in each test scene information it is each The testing process information.
8. the method according to the description of claim 7 is characterized in that if the target detection content includes target detection scene When, according to the identification information of the target detection content, corresponding target detection content is tested, obtains the survey of this content Test result, comprising:
According to the target detection scene information corresponding in the identification information of the target detection scene, scene management module, The corresponding corresponding target detection procedure information of target detection scene information and the mesh in the workflow management module Mapping tries the identification information of corresponding each target detection script with ordinal relation in procedure information, surveys to the target Examination hall scape is tested, this described scrnario testing result is obtained.
9. according to the method described in claim 8, being initiated it is characterized in that, receiving test user by corresponding test client Test request before, the method also includes: receiving any test user, to pass through the corresponding test client defeated At least one test scene information entered;Including corresponding test scene identification information and respectively in each test scene information Each testing process identification information for including in the test scene;
Each test scene information is stored in scene management module;
Each test scene letter for supporting scrnario testing is shown to each test client in the scene management module Breath.
10. the method according to claim 1, wherein the method also includes:
Whether detection current time is test opportunity in the test plan configuration information in test plan module;
If so, testing the test content in the test plan configuration information, this content test result is obtained;
This described content test result is analyzed and processed, object content test result is obtained;
The object content test result is shown to each test client.
11. according to the method described in claim 10, it is characterized in that, whether detection current time is in test plan module Before test opportunity in the test plan configuration information, the method also includes:
It receives any test user and passes through the test plan configuration information of the corresponding test client input, institute State includes the test opportunity for automatically beginning to test configured and test content in test plan configuration information;
The test plan configuration information is stored in the test plan module;
The test plan configuration information is shown to each test client in the test plan module.
12. according to the method for claim 11, which is characterized in that the method also includes:
Receive the project that any test user is inputted by the mind map editing machine on the corresponding test client Initial mind map information in test;
The initial mind map information is parsed, the target mind map information for making it be converted into being convenient for web displaying;
It draws and shows the target mind map information to each test client.
13. according to the method for claim 12, which is characterized in that the method also includes:
Increase in the target mind map information target script test result, the target scene test result and/ Or the target process test result.
14. -12 any method according to claim 1, which is characterized in that the method also includes:
Receive Team Management's information in the project that any test user passes through the corresponding test client input, institute State mark, the function and ginseng of each user including all users involved in the project in Team Management's information The identification information for the test script being responsible for each user of test script work;
Team Management's information of the project is stored in Team Management's module;
Team Management's information of the project is shown to each test client in Team Management's module.
15. -12 any method according to claim 1, which is characterized in that the method also includes:
Receive the Project Management Information in the project that any test user passes through the corresponding test client input, institute State the design and management information in Project Management Information including the project;
The Project Management Information is stored in project management module;
The Project Management Information is shown to each test client in the project management module.
16. a kind of test method based on team unity, which is characterized in that the described method includes:
The test request of test user's triggering is received, the mark letter of target detection content to be tested is carried in the test request Breath;
The test request is sent to test platform, so that the test platform is believed according to the mark of the target detection content Breath, tests corresponding target detection content, obtains this content test result;To this described content test result into Row analysis processing, obtains object content test result;And the institute of the target detection content is shown to each test client State object content test result.
17. according to the method for claim 16, which is characterized in that if the target detection content includes target detection script When, before receiving the test request that test user triggers, the method also includes:
Receive the test case that the test user is inputted by test case editing machine;It include test foot in the test case The desired effect of this information, the configuration information of the test script and the test script;It is wrapped in the test script information Include the identification information of test script and test script;
The test case is sent to the test platform, so that the test case is stored in script pipe by the test platform It manages in module;And each test for supporting script to test is shown to each test client in the script management module Use-case.
18. according to the method for claim 16, which is characterized in that if the target detection content includes target detection process When, before receiving the test request that test user triggers, the method also includes:
Receive at least one testing process information of the test user input;It include corresponding in each testing process information The identification information of testing process identification information and at least two test scripts with ordinal relation;
Each testing process information is sent to the test platform, so that the test platform is by each testing process information It is stored in workflow management module;And each checkout area is shown to each test client in the workflow management module Each testing process information supported in scape information.
19. according to the method for claim 18, which is characterized in that if the target detection content includes target detection scene When, before receiving the test request that test user triggers, the method also includes:
Receive at least one test scene information of the test user input;It include corresponding in each test scene information Each testing process identification information for including in test scene identification information and each test scene;
Each test scene information is sent to the test platform, so that the test platform is by each test scene information It is stored in scene management module;And it is shown in the scene management module to each test client and supports scrnario testing Each test scene information.
20. according to the method for claim 16, which is characterized in that the method also includes:
The test plan configuration information for receiving the test user input, include in the test plan configuration information configuration from The dynamic test opportunity for starting test and test content, the test content include the test to the target detection script, to institute State the test of target detection scene or the test to the target detection process;
The test plan configuration information is sent to the test platform, so that the test platform configures the test plan Information is stored in test plan module;And the test is shown to each test client in the test plan module Program configuration information.
21. any method of 6-21 according to claim 1, which is characterized in that the method also includes:
Receive the initial mind map information in the project testing that the test user is inputted by mind map editing machine;
The initial mind map information is sent to the test platform, so that the test platform is to the initial mind map Information is parsed, the target mind map information for making it be converted into being convenient for web displaying;It draws and to each test client End shows the target mind map information.
22. any method of 6-21 according to claim 1, which is characterized in that the method also includes:
Team Management's information in the project of the test user input is received, includes the project in Team Management's information In the involved mark of all users, the function of each user and each user institute for participating in test script work The identification information of the responsible test script;
Team Management's information is sent to the test platform, so that the test platform manages the team of the project Reason information is stored in Team Management's module;And the item is shown to each test client in Team Management's module Team Management's information described in purpose.
23. any method of 6-21 according to claim 1, which is characterized in that the method also includes:
The Project Management Information in the project of the test user input is received, includes the project in the Project Management Information Design and management information;
The Project Management Information is sent to the test platform, so that the test platform stores the Project Management Information In project management module;The Project Management Information is shown to each test client in the project management module.
24. a kind of test platform based on team unity, which is characterized in that the test platform includes:
Receiving module, the test request initiated for receiving test user by corresponding test client, the test request The middle identification information for carrying target detection content to be tested;
Testing engine module carries out corresponding target detection content for the identification information according to the target detection content Test, obtains this content test result;
Analysis and processing module obtains object content test result for being analyzed and processed to this described content test result;
Display module, for showing that the object content of the target detection content tests knot to each test client Fruit.
25. test platform according to claim 24, which is characterized in that the test platform further includes memory module;
The receiving module receives described at least two if to be also used to the target detection content include target detection script Test the test case that user is inputted by test case editing machine on the corresponding test client respectively, collect to Few two test cases;It include test script information, the configuration information of the test script and institute in each test case State the desired effect of test script;It include the identification information of test script and test script in the test script information;
The memory module, for each test case received to be stored in script management module;
The display module is also used in the script management module show to each test client and supports script test Each test case.
26. test platform according to claim 25, which is characterized in that the testing engine module is used for:
According to the identification information of the target detection script, the corresponding target detection is obtained from the script management module Use-case;
The target detection script in the target detection use-case is compiled;
According to the configuration information in the target detection use-case and the target detection script after compiling, generates target and hold Row test script;
Test script is executed to the target to test, and obtains this described script test result.
27. test platform according to claim 26, which is characterized in that the analysis and processing module is used for:
Collect this described script test result;
According to the desired effect of the target detection script in the target detection use-case, this described script test result is carried out Analysis processing, obtains the target script test result.
28. test platform according to claim 27, which is characterized in that the analysis and processing module is also used to:
In conjunction with the historic test results of the target detection script, this described script test result is analyzed and processed, is obtained To the target script test result.
29. test platform according to claim 25, it is characterised in that: the testing engine module, if being also used to described When target detection content includes target detection process, according in the identification information of the target detection process, workflow management module Corresponding each institute with ordinal relation in the corresponding target detection procedure information and the target detection procedure information The identification information for stating target detection script tests the target detection process, obtains this described flow testing result.
30. test platform according to claim 29, it is characterised in that:
The receiving module is also used to receive any test user and is inputted at least by the corresponding test client A kind of testing process information;Including corresponding testing process identification information and with sequence in each testing process information The identification information of the test script of at least two of relationship;
The memory module is also used to for each testing process information being stored in workflow management module;
The display module is also used in the workflow management module show each checkout area to each test client Each testing process information supported in scape information.
31. test platform according to claim 30, it is characterised in that: the testing engine module, if being also used to described When target detection content includes target detection scene, according in the identification information of the target detection scene, scene management module The corresponding target detection scene information is corresponding in the corresponding target detection scene information, the workflow management module Corresponding each target detection with ordinal relation in target detection procedure information and the target detection procedure information The identification information of script tests the target detection scene, obtains this described scrnario testing result.
32. test platform according to claim 31, it is characterised in that:
The receiving module is also used to receive any test user and is inputted at least by the corresponding test client A kind of test scene information;It include corresponding test scene identification information and each test in each test scene information Each testing process identification information for including in scene;
The memory module is also used to for each test scene information being stored in scene management module;
The display module is also used in the scene management module show to each test client and supports scrnario testing Each test scene information.
33. test platform according to claim 24, which is characterized in that the test platform further includes detection module:
The detection module, for detecting whether current time is in the test plan configuration information in test plan module Test opportunity;
The testing engine module, if being also used to detect, to the test content in the test plan configuration information into Row test, obtains this content test result;
The analysis and processing module is also used to be analyzed and processed this described content test result, obtains object content survey Test result;
The display module is also used to show the object content test result to each test client.
34. test platform according to claim 33, it is characterised in that:
The receiving module is also used to receive any test user and passes through the test of the corresponding test client input Program configuration information includes in the test opportunity for automatically beginning to test and test of configuration in the test plan configuration information Hold, the test content includes the test to the target detection script, to the test of the target detection scene or to institute State the test of target detection process;
The memory module is also used to for the test plan configuration information being stored in the test plan module;
The display module is also used in the test plan module show the test plan to each test client Configuration information.
35. test platform according to claim 24, which is characterized in that the test platform further includes mind map engine Module:
The receiving module is also used to receive any test user and is led by the thinking on the corresponding test client Initial mind map information in the project testing of Graph editor input;
The mind map engine modules are also used to parse the initial mind map information, it are made to be converted into being convenient for The target mind map information of web displaying;
The display module is also used to draw and shows the target mind map information to each test client.
36. test platform according to claim 35, it is characterised in that:
The mind map engine modules are also used to increase in the target mind map information target script test knot Fruit, the target scene test result, and/or the target process test result.
37. according to any test platform of claim 25-36, it is characterised in that:
The receiving module is also used to receive any test user and passes through the project of the corresponding test client input In Team Management's information, include the mark, each of all users involved in the project in Team Management's information The identification information for the test script that the function of the user and each user for participating in test script work are responsible for;
The memory module is also used to for Team Management's information of the project being stored in Team Management's module;
The display module is also used to show the institute of the project to each test client in Team Management's module State Team Management's information.
38. according to any test platform of claim 25-36, it is characterised in that:
The receiving module is also used to receive any test user and passes through the project of the corresponding test client input In Project Management Information, include the design and management information of the project in the Project Management Information;
The memory module is also used to for the Project Management Information being stored in project management module;
The display module is also used in the project management module show the project management to each test client Information.
39. a kind of test client, which is characterized in that the test client includes:
Receiving module carries target to be tested in the test request and surveys for receiving the test request of test user's triggering Try the identification information of content;
Sending module, for sending the test request to test platform, so that the test platform is according to the target detection The identification information of content tests corresponding target detection content, obtains this content test result;To described in this Hold test result to be analyzed and processed, obtains object content test result;And the target is shown to each test client The object content test result of test content.
40. test client according to claim 39, it is characterised in that:
The receiving module receives the test user if to be also used to the target detection content include target detection script The test case inputted by test case editing machine;It include test script information, the test script in the test case Configuration information and the test script desired effect;It include test script and test script in the test script information Identification information;
The sending module is also used to send the test case to the test platform, so that the test platform will be described Test case is stored in script management module;And it shows and supports to each test client in the script management module Each test case of script test.
41. test client according to claim 39, it is characterised in that:
The receiving module receives the test user if to be also used to the target detection content include target detection process At least one testing process information of input;In each testing process information include corresponding testing process identification information, with And the identification information of at least two test scripts with ordinal relation;
The sending module is also used to send each testing process information to the test platform, for the test platform Each testing process information is stored in workflow management module;And to each test visitor in the workflow management module Family end shows each testing process information supported in each test scene information.
42. test client according to claim 41, it is characterised in that:
The receiving module receives the test user if to be also used to the target detection content include target detection scene At least one test scene information of input;In each test scene information include corresponding test scene identification information and Each testing process identification information for including in each test scene;
The sending module is also used to send each test scene information to the test platform, for the test platform Each test scene information is stored in scene management module;And to each test visitor in the scene management module Family end shows each test scene information for supporting scrnario testing.
43. test client according to claim 39, it is characterised in that:
The receiving module, is also used to receive the test plan configuration information of the test user input, and the test plan is matched Confidence breath in include configuration automatically begin to test test opportunity and test content, the test content include to the target The test of test script, the test to the test of the target detection scene or to the target detection process;
The sending module is also used to send the test plan configuration information to the test platform, so that the test is flat The test plan configuration information is stored in test plan module by platform;And to each survey in the test plan module It tries client and shows the test plan configuration information.
44. according to any test client of claim 39-43, it is characterised in that:
The receiving module, be also used to receive in the project testing that the test user is inputted by mind map editing machine at the beginning of Beginning mind map information;
The sending module is also used to send the initial mind map information to the test platform, so that the test is flat Platform parses the initial mind map information, the target mind map information for making it be converted into being convenient for web displaying;It draws It makes and shows the target mind map information to each test client.
45. according to any test client of claim 39-43, it is characterised in that:
The receiving module is also used to receive Team Management's information in the project of the test user input, team's pipe Manage includes the mark of all users involved in the project, the function of each user and participation test foot in information The identification information for the test script that each user of this work is responsible for;
The sending module is also used to send Team Management's information to the test platform, so that the test platform will Team Management's information of the project is stored in Team Management's module;And to each described in Team Management's module Test client shows Team Management's information of the project.
46. according to any test client of claim 39-43, it is characterised in that:
The receiving module is also used to receive the Project Management Information in the project of the test user input, the project pipe Manage the design and management information in information including the project;
The sending module is also used to send the Project Management Information to the test platform, so that the test platform will The Project Management Information is stored in project management module;To each test client exhibition in the project management module Show the Project Management Information.
47. a kind of test macro based on team unity, which is characterized in that the test macro includes such as the claims The 24-38 any test platform and at least two test clients as described in the claims 39-46 is any;It is described Test platform and each test client communicate to connect.
48. a kind of calculating equipment, comprising:
Processor;And
Memory is stored thereon with executable code, when the executable code is executed by the processor, makes the processing Device executes the method as described in any one of claim 1-15, or executes such as any one of claim 16-23 institute The method stated.
49. a kind of non-transitory machinable medium, is stored thereon with executable code, when the executable code is electric When the processor of sub- equipment executes, the processor is made to execute the method as described in any one of claim 1-15, or Execute the method as described in any one of claim 16-23.
CN201811174293.XA 2018-10-09 2018-10-09 Test method, platform, client and system calculate equipment and readable medium Pending CN109522214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811174293.XA CN109522214A (en) 2018-10-09 2018-10-09 Test method, platform, client and system calculate equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811174293.XA CN109522214A (en) 2018-10-09 2018-10-09 Test method, platform, client and system calculate equipment and readable medium

Publications (1)

Publication Number Publication Date
CN109522214A true CN109522214A (en) 2019-03-26

Family

ID=65772370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811174293.XA Pending CN109522214A (en) 2018-10-09 2018-10-09 Test method, platform, client and system calculate equipment and readable medium

Country Status (1)

Country Link
CN (1) CN109522214A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351161A (en) * 2019-05-22 2019-10-18 口碑(上海)信息技术有限公司 Business end-to-end test method, apparatus, storage medium and computer equipment
CN110377520A (en) * 2019-07-22 2019-10-25 中国工商银行股份有限公司 The test method and device, electronic equipment and readable storage medium storing program for executing for scene of trading
CN111159050A (en) * 2019-12-30 2020-05-15 深圳Tcl新技术有限公司 Intelligent lock testing method and device and computer readable storage medium
CN111177003A (en) * 2019-12-30 2020-05-19 北京同邦卓益科技有限公司 Test method, device, system, electronic equipment and storage medium
WO2020253112A1 (en) * 2019-06-19 2020-12-24 深圳壹账通智能科技有限公司 Test strategy acquisition method, device, terminal, and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141962A (en) * 2011-04-07 2011-08-03 北京航空航天大学 Safety distributed test framework system and test method thereof
CN103150249A (en) * 2011-12-07 2013-06-12 北京新媒传信科技有限公司 Automatic testing method and system
CN103246604A (en) * 2013-03-29 2013-08-14 北京京东尚科信息技术有限公司 Soft testing system, soft testing method, controlling device and executing devices
CN104834595A (en) * 2015-02-15 2015-08-12 网易(杭州)网络有限公司 Visual automatic test method and system
US20150234733A1 (en) * 2014-02-18 2015-08-20 International Business Machines Corporation Software testing
CN106406828A (en) * 2015-07-28 2017-02-15 阿里巴巴集团控股有限公司 Method and apparatus for modifying business tool function of JAVA system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141962A (en) * 2011-04-07 2011-08-03 北京航空航天大学 Safety distributed test framework system and test method thereof
CN103150249A (en) * 2011-12-07 2013-06-12 北京新媒传信科技有限公司 Automatic testing method and system
CN103246604A (en) * 2013-03-29 2013-08-14 北京京东尚科信息技术有限公司 Soft testing system, soft testing method, controlling device and executing devices
US20150234733A1 (en) * 2014-02-18 2015-08-20 International Business Machines Corporation Software testing
CN104834595A (en) * 2015-02-15 2015-08-12 网易(杭州)网络有限公司 Visual automatic test method and system
CN106406828A (en) * 2015-07-28 2017-02-15 阿里巴巴集团控股有限公司 Method and apparatus for modifying business tool function of JAVA system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
先知: "禅道使用分享:禅道用例管理流程", 《HTTPS://WWW.ZENTAO.NET/DYNAMIC/80028.HTML》 *
苏海海: "《互联网产品设计》", 31 January 2018, 中国铁道出版社 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351161A (en) * 2019-05-22 2019-10-18 口碑(上海)信息技术有限公司 Business end-to-end test method, apparatus, storage medium and computer equipment
WO2020253112A1 (en) * 2019-06-19 2020-12-24 深圳壹账通智能科技有限公司 Test strategy acquisition method, device, terminal, and readable storage medium
CN110377520A (en) * 2019-07-22 2019-10-25 中国工商银行股份有限公司 The test method and device, electronic equipment and readable storage medium storing program for executing for scene of trading
CN110377520B (en) * 2019-07-22 2024-03-15 中国工商银行股份有限公司 Transaction scenario testing method and device, electronic equipment and readable storage medium
CN111159050A (en) * 2019-12-30 2020-05-15 深圳Tcl新技术有限公司 Intelligent lock testing method and device and computer readable storage medium
CN111177003A (en) * 2019-12-30 2020-05-19 北京同邦卓益科技有限公司 Test method, device, system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109522214A (en) Test method, platform, client and system calculate equipment and readable medium
CN110413524A (en) For generating method and apparatus, the automated testing method of test script
CN110321281A (en) Web test platform and test method based on mixing automated test frame
Verweij et al. An IT perspective on integrated environmental modelling: The SIAT case
Fontana et al. DPB: A benchmark for design pattern detection tools
Dalpiaz et al. On deriving conceptual models from user requirements: An empirical study
CN106708718A (en) Service framework interface testing method and device
CN108647147A (en) It is a kind of to execute automatic test machine people and its application method using atlas analysis
Vedder et al. Dealing with software complexity in individual‐based models
Allweyer et al. A tool for animating BPMN token flow
Nguyen et al. Automated test input generation via model inference based on user story and acceptance criteria for mobile application development
Holmes Pragmatic software reuse
Paralič et al. Process-driven approaches to knowledge transformation
Murtaza et al. Structured Language Requirement Elicitation Using Case Base Reasoning
Kamalrudin et al. Automatic acceptance test case generation from essential use cases
CN110928535A (en) Derivative variable deployment method, device, equipment and readable storage medium
Pulido Applying behavior driven development practices and tools to low-code technology
Haendler et al. Deriving tailored UML interaction models from scenario-based runtime tests
Tong et al. A Review: Methods of Acceptance Testing
Schöttl Modelling passengers’ seating behavior for simulations of pedestrian dynamics
Dewayanto et al. Visualizing the Synchronicity of Fixed Issues Across Diverse Ecosystems
Kurz Automating BPMN Interchange Testing
Ocaña Miguel et al. Automatic linguistic reporting of customer activity patterns in open malls
Massollar et al. Investigating the Feasibility of a Specification and Quality Assessment Approach Suitable for Web Functional Requirements
Manukonda Investigating the Role of Exploratory Testing in Agile Software Development: A Case Study Analysis

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200811

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping square B radio tower 12 layer self unit 01

Applicant before: GUANGZHOU SHENMA MOBILE INFORMATION TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190326