CN107562621A - The method and apparatus for determining manual test use-case and tested code incidence relation - Google Patents

The method and apparatus for determining manual test use-case and tested code incidence relation Download PDF

Info

Publication number
CN107562621A
CN107562621A CN201710750906.9A CN201710750906A CN107562621A CN 107562621 A CN107562621 A CN 107562621A CN 201710750906 A CN201710750906 A CN 201710750906A CN 107562621 A CN107562621 A CN 107562621A
Authority
CN
China
Prior art keywords
test
case
tested
code
manual test
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.)
Granted
Application number
CN201710750906.9A
Other languages
Chinese (zh)
Other versions
CN107562621B (en
Inventor
杨瑾
刘泽文
杨文亮
祝中良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Alibaba Literature 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 Alibaba Literature Information Technology Co Ltd filed Critical Guangzhou Alibaba Literature Information Technology Co Ltd
Priority to CN201710750906.9A priority Critical patent/CN107562621B/en
Publication of CN107562621A publication Critical patent/CN107562621A/en
Application granted granted Critical
Publication of CN107562621B publication Critical patent/CN107562621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of method and apparatus for determining manual test use-case and tested code incidence relation.Sign on is tested in response to single, records the code coverage information in the running of single manual test use-case, single test sign on instruction begins to use single manual test use-case manual test to be tested application program.Halt instruction is tested in response to single, generation is directed to the test coverage file of single manual test use-case, and single test halt instruction instruction is terminated using single manual test use-case to the manual test for being tested application program.Thus it is possible to analyze test coverage file, the incidence relation between single manual test use-case and the code of tested application program is obtained.Thereby, it is possible to the granularity of single manual test use-case, determine the incidence relation between manual test use-case and code, so as to the designing quality for weighing single manual test use-case, and can realize the accurate test to tested code whereby.

Description

The method and apparatus for determining manual test use-case and tested code incidence relation
Technical field
It is more particularly to a kind of to determine test case and tested application program the present invention relates to software testing technology field Method, apparatus, computing device and the storage medium of incidence relation between code.
Background technology
With the rapid development of information technology, software product is set to be applied to social every field, the quality of software product As the common focus of attention of people.Test case (Test Case) is that the one group of test worked out for some special objective is defeated Enter, execution condition and expected results, to test some Program path or examine whether meet some particular demands, test is used Example generally comprises the combination of manual test use-case, automatic test case or both.
Test coverage is a means for measuring test completeness, is a measurement of test validity.Generally, test Coverage rate includes demand coverage rate and code coverage, and both can complement each other, with code coverage result conversion check demand Testing whether for covering (use-case) is sufficiently complete.
At present, the design of Android manual tests use-case is according to requirement documents, by Test Sample Design personnel's mostly Personal experience, how is single testing example design quality, and the coverage condition of code can not but be weighed.Also, generation in the industry Code coverage rate is used for the unit testing stage, for weighing the Test coverage effect for code of unit testing set.Test Coverage rate is rarely used in manual test coverage rate, is not more used to find single manual test use-case with being tested by test coverage The incidence relation of code.
The content of the invention
It is an object of the invention to provide between a kind of code that can determine manual test use-case and tested application program Incidence relation method and apparatus.
According to an aspect of the invention, there is provided a kind of determine manual test use-case and the code of tested application program Between incidence relation method, this method can include:
Sign on is tested in response to single, records the code coverage letter in the running of single manual test use-case Breath, single test sign on instruction begin to use single manual test use-case manual test to be tested application program;
Halt instruction is tested in response to single, generation is for the test coverage file of single manual test use-case, single Test halt instruction instruction is terminated using single manual test use-case to the manual test for being tested application program;And
Test coverage file is analyzed, obtains the pass between single manual test use-case and the code of tested application program Connection relation.
So, sign on and single test halt instruction are tested based on single, can determine a complete survey by hand The execution of example on probation, thereby determine that single manual test use-case and the wiping coverage rate text for the single manual test use-case Part.By the analysis of the test coverage file to generation, the pass between single manual test use-case and tested code is obtained Connection relation.
Further, a variety of purposes can be realized based on both incidence relations, such as determines that single manual test is used The designing quality of example, and realize the accurate test to tested code.
Preferably, single test sign on is may also respond to, empties the code coverage information of precedence record.
Thus, previous record is emptied, it is possible to ensure, for example, that the Test coverage generated every time by instruments such as Jacoco Rate file is to be directed to current single manual test use-case, not corresponding with test case to avoid the occurrence of test coverage file Situation.
Preferably, application program can integrate with SDK, test sign in response to single, software is opened Hair kit sends the instruction for the code coverage information for emptying precedence record;And/or halt instruction is tested in response to single, SDK sends instruction of the generation for the test coverage file of single manual test use-case.
It is capable of the manual implementation status of monitoring and test based on SDK, thus, automatic discrimination is completely single Manual test use-case, the test coverage file to generate for single manual test use-case provide safeguard.
Preferably, the step of analyzing test coverage file can include:Obtained based on test coverage file for single The test coverage report of individual manual test use-case;And test coverage report is analyzed, obtain single manual test The incidence relation of use-case and the code of tested application program.
Thus, by test coverage file and test coverage report executing corresponding step, finally giving single The incidence relation of manual test use-case and tested code.
In certain embodiments, single test case is manually entered by tester, and test sign on and/ Or test halt instruction is in response to obtained from the operation in tester.
During manual test, tester is operated manually, and to send multiple test dependent instructions, or fills in phase Close information.For between the test sign on of single test case and test halt instruction, tester can may also enter Row is repeatedly manually operated.
According to another aspect of the present invention, a kind of generation for determining manual test use-case and tested application program is additionally provided The device of incidence relation between code, the device can include:
Tape deck, sign on is tested in response to single, records the generation in the running of single manual test use-case Code coverage information, single test sign on instruction begin to use single manual test use-case manual test is tested to apply journey Sequence;
Generating means, halt instruction, test coverage of the generation for single manual test use-case are tested in response to single File, single test halt instruction instruction are terminated using single manual test use-case to the manual test for being tested application program; And
Analytical equipment, test coverage file is analyzed, obtains the generation of single manual test use-case and tested application program Incidence relation between code.
Preferably, the device can also include emptying apparatus, test sign in response to single, empty precedence record Code coverage information.
Preferably, the device can include:First command device, sign on is tested in response to single, to tape deck Send the instruction for the code coverage information for emptying precedence record;And/or the second command device, test and stop in response to single Instruction, instruction of the generation for the test coverage file of single manual test use-case is sent to generating means.
Preferably, analytical equipment can also include:Report preparing apparatus, obtained based on test coverage file for single The test coverage report of manual test use-case;Report analysis device, test coverage report is analyzed, obtains single hand Work test case and the incidence relation of the code of tested application program.
Preferably, single manual test use-case can be manually entered by tester, and test sign on and/ Or test halt instruction can be in response to obtained from the operation in tester.
According to another aspect of the invention, a kind of computing device is additionally provided, including:Processor;And memory, thereon Executable code is stored with, when executable code is executed by processor, makes the method for any of the above described one of computing device.
According to another aspect of the invention, a kind of non-transitory machinable medium is additionally provided, is stored thereon with Executable code, when computing device of the executable code by electronic equipment, make the method for computing device any of the above-described.
By technical scheme, can determine single manual test use-case and tested application program code it Between incidence relation, so as to the designing quality for weighing single manual test use-case, and can realize whereby to quilt Test the accurate test of code.
Brief description of the drawings
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 number Typically represent same parts.
Fig. 1 shows the indicative flowchart of the method for determination incidence relation according to an embodiment of the invention.
Fig. 2 is shown according to the present invention with the schematic block diagram of the device of the determination incidence relation of one embodiment.
Fig. 3 shows the schematic block diagram of computing device according to an embodiment of the invention.
Fig. 4 shows an application examples according to the present invention.
Embodiment
The preferred embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying 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 the disclosure is more thorough and complete, and can be by the disclosure Scope is intactly communicated to those skilled in the art.
As it was previously stated, still lack effective scheme in the prior art, to determine single manual test use-case with being tested Incidence relation between code.
In view of this, the present invention proposes a kind of method and dress of the incidence relation for determining test case and testing code Put.
It should be pointed out that the application program of the present invention can be any application program, the solution of the present invention can be with office What terminal device particularly performs on mobile terminal.
Drawings and Examples will be combined as follows describes technical scheme in detail.
Incidence relation between the determination test case and the code of tested application program of the present invention (referred to as determines to associate Relation) scheme can be implemented as a kind of method.Fig. 1 shows the side of determination incidence relation according to an embodiment of the invention The indicative flowchart of method.
As shown in figure 1, in step S110, sign on is tested in response to single, records the fortune of single manual test use-case Code coverage information during row.
The test case that single manual test use-case can be manually entered or be operated by tester, implementing to test When, standard of the test case as test, tester implements to test one by one in strict accordance with use-case project and testing procedure.
Single test sign on instruction begins to use single manual test use-case manual test to be tested application program.Survey Examination sign on can be in response to obtained from the operation in tester, such as can be clicked on by tester What " start " or START button obtained.
Code coverage information refers to code coverage (test) situation for performing the reflection use-case recorded during the test case Information, can record code coverage information always in the implementation procedure of test case.The information can be by Test coverage Rate tool records, test coverage instrument for example can be Java test coverage instruments EMMA, Jacoco, and .NET tests are covered Lid rate instrument, C/C++ test coverage instrument Bullseye Coverage etc..
The code coverage instrument of the present invention can be embedding by pitching pile technology well known in the prior art or other modes Enter into the code of tested application program, in order to when performing test, be able to record test case, the present invention does not make to this Limitation.
In step S120, halt instruction, Test coverage of the generation for single manual test use-case are tested in response to single Rate file.
Manual test knot of the single test halt instruction instruction using single manual test use-case to tested application program Beam.Test halt instruction can also be in response to obtained from the operation in tester, such as can be clicked on by tester " stop " button obtains.
It should be appreciated that during manual test, tester is operated manually, and is referred to sending multiple test correlations Order, or fill in relevant information.For the test sign on of single test case and test halt instruction between, tester It can also may carry out repeatedly manually operated.For example, tester's input test use-case or tester click on " previous step/under The button such as one step ", " it is determined that/cancellation ", " Yes/No ".
Include the code coverage information for the single manual test use-case in test coverage file.Surveyed based on single Try sign on and single test halt instruction, it is possible to determine when a manual test use-case starts, when Terminate, it is a complete manual test use-case to be so assured that the manual test use-case, be also assured that in response to The test coverage file that single is tested halt instruction and generated determines that test is covered for the single manual test use-case The man-to-man corresponding relation of lid rate file and test case.So, in subsequent process, it is possible to based on the test coverage File is analyzed, to determine the designing quality of its corresponding single manual test use-case.
In step S130, test coverage file is analyzed, obtains single manual test use-case and tested application program Incidence relation between code.
Incidence relation can include test case and the line number in the code of tested application program, class name, method name, text Mapping relations or other incidence relations between part name etc..
In analytical procedure, specifically, it can be obtained based on test coverage file for single manual test use-case Test coverage is reported, and operating analysis script, to analyze test coverage report, obtains single manual test use-case With the incidence relation of the code of tested application program.
Incidence relation between the code of test case and tested application program (referred to as tested code) can be used for all It is many-sided.
On the one hand, it can be used for the designing quality for weighing single manual test use-case.It is desired to ensure that test case covers The code of test, ensures the comprehensive of Test Sample Design, avoids that test omission occurs as far as possible.
On the other hand, can be used for precisely testing., can be according to tested code accurately based on both incidence relations Test case is chosen, avoids verifying incoherent test case.When tested code changes (such as update generation Code), the execution scope of test case is determined, avoids choosing excessive incoherent test case, can thus save test Time, improve testing efficiency.
The third aspect, test case is recorded in test execution to the coverage condition of code, for positioning defect.Tester Execution step of the member for defect can be described inaccuracy, or forget testing procedure, situation about can not reappear, and at this moment, use What the code coverage situation of example can will be apparent that reflects the code of test execution covering, is easy to position defect.
In addition, in order to ensure that the test coverage file generated every time corresponds to its corresponding single manual test Use-case, sign on can be tested in response to single, empty the code coverage information of precedence record.In this manner it is possible to determine It is for current single manual test use-case in the test coverage file tested halt instruction in response to single afterwards and generated , in follow-up test process, also the can test coverage file determines the single manual test use-case to tester Incidence relation between tested code.
In the present invention, tested application program can be integrated with SDK (SDK).SDK (SDK) can be used for the operation performed by monitoring and test personnel and/or testing procedure, for example, performed by user start operation, Stop operation, and other steps between test starts and stops.Also, in certain embodiments, SDK can also be based on The operation monitored sends corresponding instruction.For example, testing sign in response to single, SDK can be sent Empty the instruction of the code coverage information of precedence record;Or halt instruction is tested in response to single, SDK can To send instruction of the generation for the test coverage file of single manual test use-case.
The SDK of the present invention is suitable to integrate with any application program, and monitors the test in the application program Implementation status.Also, SDK can be used for carrying out tested application program pitching pile operation (or other behaviour Make), code coverage instrument is embedded into the code of tested application program, in order to be able to record in test execution Coverage rate information.
It should be pointed out that above-mentioned pitching pile operation can be previously-completed before SDK is integrated with application program, also may be used To be to be controlled to complete by SDK after SDK and application program are integrated, the invention is not limited in this regard.
The method of incidence relation between the determination test case of the present invention and the code of tested application program can be by One kind determines that incidence relation device is realized.
Fig. 2 is the structured flowchart for showing determination incidence relation device according to an embodiment of the invention.Wherein it is determined that close The functional module of connection relation device 200 can be by realizing the combination of the hardware of the principle of the invention, software or hardware and software Lai real It is existing.
It will be appreciated by persons skilled in the art that the functional module described by Fig. 2 can be combined or is divided into Submodule, so as to realize the principle of foregoing invention.Therefore, description herein can be supported to appoint functions described herein module What possible combination or division or further restriction.
Determination incidence relation device 200 shown in Fig. 2 can be used for the method for realizing the determination incidence relation shown in Fig. 1, Only determine that the functional module that incidence relation device 200 can have and the operation that each functional module can perform do letter below Illustrate, may refer to the description above in association with Fig. 1 for the detail section being directed to, repeat no more here.
As shown in Fig. 2 the determination incidence relation device 200 of the present invention can include tape deck 210, generating means 220 With analytical equipment 230.
Tape deck 210 can be used for testing sign in response to single, record the running of single test case In code coverage information.Wherein, single test sign on instruction begins to use single test case manual test to be tested Application program.Wherein, single test case can be manually entered by tester, and it can be loud to test sign on Should be obtained from the operation in tester.
Generating means 220 can be used for testing halt instruction in response to single, and generation is for single manual test use-case Test coverage file.Wherein, hand of the single test halt instruction instruction using single test case to tested application program Work test terminates.Wherein, test halt instruction can be in response to obtained from the operation in tester.
Thus, sign on and single test END instruction are tested based on single, it is possible to determine that a manual test is used When example starts, when terminates, and so as to differentiate that the test case is a complete single manual test use-case, enters And obtain the test coverage file corresponding with the single manual test use-case.
Analytical equipment 230 can be used for analyzing test coverage file, obtains single manual test use-case and is answered with tested With the incidence relation between the code of program.
Analytical equipment 230 can also include report preparing apparatus 231 and report analysis device 233.Report analysis device 231 It can obtain reporting for the test coverage of single manual test use-case based on test coverage file.Report analysis device 233 can analyze test coverage report, obtain single manual test use-case and the code of tested application program Incidence relation.
Preferably, the device can also include emptying apparatus 240.Emptying apparatus 240 can be used for testing in response to single Sign on, empty the code coverage information of precedence record.
In addition, the device can include the first command device 251 and the second command device 253.
First command device 251 can be used for testing sign in response to single, is sent to tape deck 210 and empties elder generation The instruction of the code coverage information of preceding record.Second command device 253 can be used for testing halt instruction, Xiang Sheng in response to single Instruction of the generation for the test coverage file of single manual test use-case is sent into device 220.
The method of incidence relation between the determination test case of the present invention and the code of tested application program can be by A kind of computing device is realized.Fig. 3 shows the schematic block diagram of computing device according to an embodiment of the invention.
As shown in figure 3, the computing device of the present invention can include processor 310 and memory 320.Can on memory 320 To be stored with executable code, when executable code is performed by processor 310, processor 310 is set to perform any of the above described one Determination test case and tested application program code between incidence relation method.It, which is implemented, can be found in above Associated description based on Fig. 1-2, will not be repeated here.
【Application examples】
Illustrated with the application examples shown in Fig. 4.Wherein, in this application examples, using Jacoco as mentioned hereinabove Code coverage instrument, complete the pitching pile above addressed using automation the build tool Gradle and operate.
Tested application program and predetermined software developing instrument (SDK) are integrated, SDK is used for monitoring and test and performed Dependent instruction in journey, and instrument (such as Gradle, Jacoco) involved in measuring executing process is controlled, perform following Process:
1. first, SDK can use automation the build tool Gradle one Android installation kit (APK) of packing, The installation kit can include the original APK and Jacoco instruments of tested application program.When what is installed to such installation kit During using being operated, Jacoco instruments can record coverage rate implementation status.
2. single manual test use-case, tester are performed on the test equipment of above-mentioned Android installation kits is installed Click on " start ", test sign in response to single, SDK can send flush instructions, to enable Jacoco instruments clear The code coverage information of empty precedence record, while record the code coverage information of Current manual test case.
3. tester clicks on " stop ", halt instruction is tested in response to single, SDK sends generation instruction so that Jacoco instruments can be directed to the Test coverage of current single manual test use-case based on the code coverage information generation recorded Rate file.
4. reusing Gradle instruments, for the test coverage file of each manual test use-case, coverage rate is run Report generation task, generation are reported for the test coverage of single manual test use-case.
5. operating analysis script, the test coverage report to single manual test use-case is analyzed, and parses each survey Coverage condition of the example on probation to the class in tested code, method etc..Coverage rate resultative construction is stored in database, To facilitate follow-up use.
Determination test case and the tested application program according to the present invention are above described in detail by reference to accompanying drawing Code between incidence relation method, apparatus and computing device.
In addition, the method according to the invention is also implemented as a kind of computer program, the computer program includes being used for Perform the computer program code instruction of the above steps limited in the above method of the present invention.Or according to the present invention's Method is also implemented as a kind of computer program product, and the computer program product includes computer-readable medium, in the meter The computer program for performing the above-mentioned function of being limited in the above method of the invention is stored with calculation machine computer-readable recording medium.Ability Field technique personnel will also understand is that, various illustrative logical blocks, module, circuit and algorithm with reference to described by disclosure herein Step may be implemented as the combination of electronic hardware, computer software or both.
Flow chart and block diagram in accompanying drawing show that the possibility of the system and method for multiple embodiments according to the present invention is real Existing architectural framework, function and operation.At this point, each square frame in flow chart or block diagram can represent module, a journey A part for sequence section or code, a part for the module, program segment or code is comprising one or more defined for realizing The executable instruction of logic function.It should also be noted that at some as in the realization replaced, the function of being marked in square frame also may be used With with different from the order marked in accompanying drawing generation.For example, two continuous square frames can essentially perform substantially in parallel, They can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that block diagram and/or stream The combination of each square frame and block diagram in journey figure and/or the square frame in flow chart, function or operation as defined in performing can be used Special hardware based system realize, or can be realized with the combination of specialized hardware and computer instruction.
It is described above various embodiments of the present invention, described above is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport The principle of each embodiment, practical application or improvement to the technology in market are best being explained, or is making the art Other those of ordinary skill are understood that each embodiment disclosed herein.

Claims (12)

1. a kind of method for determining the incidence relation between manual test use-case and the code of tested application program, including:
Sign on is tested in response to single, records the code coverage information in the running of single manual test use-case, institute State single test sign on instruction and begin to use tested application program described in the single manual test use-case manual test;
Halt instruction is tested in response to single, generation is directed to the test coverage file of the single manual test use-case, described Manual test knot of the single test halt instruction instruction using the single manual test use-case to the tested application program Beam;And
The test coverage file is analyzed, obtains the code of the single manual test use-case and the tested application program Between incidence relation.
2. the method according to claim 11, in addition to:
Sign on is tested in response to the single, empties the code coverage information of precedence record.
3. according to the method for claim 2, wherein, the application program integrates with SDK,
Sign on is tested in response to the single, the SDK sends the code coverage letter for emptying precedence record The instruction of breath;And/or
Halt instruction is tested in response to single, the SDK sends generation and is directed to the single manual test use-case Test coverage file instruction.
4. according to the method for claim 1, wherein, the step of analyzing the test coverage file, includes:
Obtain reporting for the test coverage of the single manual test use-case based on the test coverage file;And
Test coverage report is analyzed, obtains the single manual test use-case and the tested application program Code incidence relation.
5. the method according to claim 11, wherein,
The single manual test use-case is manually entered by tester, and
The test sign on and/or the test halt instruction are in response to obtained from the operation of the tester.
6. a kind of device for determining the incidence relation between manual test use-case and the code of tested application program, including:
Tape deck, sign on is tested in response to single, the code recorded in the running of single manual test use-case covers Lid information, the single test sign on instruction begins to use to be tested described in the single manual test use-case manual test Application program;
Generating means, halt instruction, test coverage of the generation for the single manual test use-case are tested in response to single File, hand of the single test halt instruction instruction using the single manual test use-case to the tested application program Work test terminates;And
Analytical equipment, the test coverage file is analyzed, obtain the single manual test use-case and the tested application Incidence relation between the code of program.
7. device according to claim 6, in addition to:
Emptying apparatus, sign on is tested in response to the single, empties the code coverage information of precedence record.
8. device according to claim 7, in addition to:
First command device, sign on is tested in response to the single, is sent to the tape deck and empties precedence record The instruction of code coverage information;And/or
Second command device, halt instruction is tested in response to single, sending generation to the generating means is directed to the single hand The instruction of the test coverage file of work test case.
9. device according to claim 6, wherein, the step of analyzing the test coverage file, includes:
Report preparing apparatus, the Test coverage for the single manual test use-case is obtained based on the test coverage file Rate is reported;
Report analysis device, to the test coverage report analyze, obtain the single manual test use-case with it is described The incidence relation of the code of tested application program.
10. device according to claim 6, wherein,
The single manual test use-case is manually entered by tester, and
The test sign on and/or the test halt instruction are in response to obtained from the operation of the tester.
11. a kind of computing device, including:
Processor;And
Memory, executable code is stored thereon with, when the executable code is by the computing device, makes the processing Device performs the method as any one of claim 1-5.
12. a kind of non-transitory machinable medium, is stored thereon with executable code, when the executable code is electric During the computing device of sub- equipment, make method of the computing device as any one of claim 1 to 5.
CN201710750906.9A 2017-08-28 2017-08-28 Method and device for determining incidence relation between manual test case and tested code Active CN107562621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710750906.9A CN107562621B (en) 2017-08-28 2017-08-28 Method and device for determining incidence relation between manual test case and tested code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710750906.9A CN107562621B (en) 2017-08-28 2017-08-28 Method and device for determining incidence relation between manual test case and tested code

Publications (2)

Publication Number Publication Date
CN107562621A true CN107562621A (en) 2018-01-09
CN107562621B CN107562621B (en) 2020-11-06

Family

ID=60977567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710750906.9A Active CN107562621B (en) 2017-08-28 2017-08-28 Method and device for determining incidence relation between manual test case and tested code

Country Status (1)

Country Link
CN (1) CN107562621B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427637A (en) * 2018-01-18 2018-08-21 平安科技(深圳)有限公司 Test cases recommends method, electronic device and readable storage medium storing program for executing
CN110727597A (en) * 2019-10-15 2020-01-24 杭州安恒信息技术股份有限公司 Method for completing use case based on log troubleshooting invalid codes
CN111597121A (en) * 2020-07-24 2020-08-28 四川新网银行股份有限公司 Precise test method based on historical test case mining
CN112597050A (en) * 2020-12-28 2021-04-02 上海品顺信息科技有限公司 Method, system, equipment and storage medium for testing associated source code and test case

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657256A (en) * 2013-11-19 2015-05-27 阿里巴巴集团控股有限公司 Method and device for collecting mapping relation between cases and codes
US20170010956A1 (en) * 2014-07-11 2017-01-12 University Of Electronic Science And Technology Of China Device for automatically generating test cases for embedded software and method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657256A (en) * 2013-11-19 2015-05-27 阿里巴巴集团控股有限公司 Method and device for collecting mapping relation between cases and codes
US20170010956A1 (en) * 2014-07-11 2017-01-12 University Of Electronic Science And Technology Of China Device for automatically generating test cases for embedded software and method thereof

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
DUAN5858: "iOS手工测试覆盖率率统计实践", 《HTTPS://BLOG.CSDN.NET/DUAN5858/ARTICLE/DETAILS/54670421》 *
Q博士: "Android手工测试代码覆盖率增强版", 《HTTPS://BLOG.CSDN.NET/ITFOOTBALL/ARTICLE/DETAILS/45618609》 *
Q博士: "Android手工测试的代码覆盖率", 《HTTPS://BLOG.CSDN.NET/ITFOOTBALL/ARTICLE/DETAILS/45558663》 *
刘洋: "JAVA代码覆盖率工具JaCoCo-实践篇", 《HTTPS://MP.WEIXIN.QQ.COM/S/LQDA4JMGKNEWQCFGBVMYFG》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427637A (en) * 2018-01-18 2018-08-21 平安科技(深圳)有限公司 Test cases recommends method, electronic device and readable storage medium storing program for executing
CN110727597A (en) * 2019-10-15 2020-01-24 杭州安恒信息技术股份有限公司 Method for completing use case based on log troubleshooting invalid codes
CN110727597B (en) * 2019-10-15 2023-03-10 杭州安恒信息技术股份有限公司 Method for checking invalid code completion case based on log
CN111597121A (en) * 2020-07-24 2020-08-28 四川新网银行股份有限公司 Precise test method based on historical test case mining
CN112597050A (en) * 2020-12-28 2021-04-02 上海品顺信息科技有限公司 Method, system, equipment and storage medium for testing associated source code and test case

Also Published As

Publication number Publication date
CN107562621B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
CN104391795B (en) Method and system for automatically testing coverage rate in distributed system
CN107562621A (en) The method and apparatus for determining manual test use-case and tested code incidence relation
Westermann et al. The performance cockpit approach: A framework for systematic performance evaluations
CN111459794A (en) Communication network testing method, device, computer equipment and storage medium
US20100058295A1 (en) Dynamic Test Coverage
KR100803889B1 (en) Method and system for analyzing performance of providing services to client terminal
Tosun et al. Ai-based software defect predictors: Applications and benefits in a case study
CN109726100A (en) Application performance test method, apparatus, equipment and computer readable storage medium
CN111124919A (en) User interface testing method, device, equipment and storage medium
Misirli et al. Ai-based software defect predictors: Applications and benefits in a case study
Nugroho et al. Assessing uml design metrics for predicting fault-prone classes in a java system
CN110405388A (en) Predict the method, apparatus and electronic equipment of welding quality
CN107992418A (en) A kind of method and system for improving software test stability
CN110008101A (en) Client performance evaluation method, device, storage medium and electronic equipment
CN114691521A (en) Software testing platform based on artificial intelligence
CN116954624B (en) Compiling method based on software development kit, software development system and server
CN109783361A (en) The method and apparatus for determining code quality
KR101403685B1 (en) System and method for relating between failed component and performance criteria of manintenance rule by using component database of functional importance determination of nuclear power plant
CN114138581B (en) Mainboard test method and system
Hashim et al. Architectural test coverage for component-based integration testing
Krause et al. New directions in measurement for software quality control
CN110968496A (en) Testing method and device for embedded program in rail transit vehicle
Chandani et al. A survey on effective defect prevention-3T approach
Siddiqui et al. An Approach for Collection and Analysis of Manufacturing Test Sites Data for Electronic Products
JPH05313881A (en) Method and device for evaluation of software quality

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

Effective date of registration: 20200715

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 radio square B tower 13 floor 03 unit self

Applicant before: GUANGZHOU ALIBABA LITERATURE INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant