Nothing Special   »   [go: up one dir, main page]

CN117033251B - Regression testing method and device for multi-version system of mobile electronic equipment - Google Patents

Regression testing method and device for multi-version system of mobile electronic equipment Download PDF

Info

Publication number
CN117033251B
CN117033251B CN202311297654.0A CN202311297654A CN117033251B CN 117033251 B CN117033251 B CN 117033251B CN 202311297654 A CN202311297654 A CN 202311297654A CN 117033251 B CN117033251 B CN 117033251B
Authority
CN
China
Prior art keywords
test
primary
test cases
regression
version system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311297654.0A
Other languages
Chinese (zh)
Other versions
CN117033251A (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.)
Hangzhou Roledith Technology Co ltd
Original Assignee
Hangzhou Roledith 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 Hangzhou Roledith Technology Co ltd filed Critical Hangzhou Roledith Technology Co ltd
Priority to CN202311297654.0A priority Critical patent/CN117033251B/en
Publication of CN117033251A publication Critical patent/CN117033251A/en
Application granted granted Critical
Publication of CN117033251B publication Critical patent/CN117033251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application provides a regression testing method and device for a multi-version system of mobile electronic equipment, comprising the following steps: dividing importance levels for different version systems of the same mobile electronic equipment and different functional modules in each version system, acquiring test points of each version system, dividing a business process for each test point and writing at least one test case; acquiring primary defects, and acquiring all test cases of the primary defects in business processes of other version systems as associated test cases; setting screening conditions, screening the associated test cases by using the screening conditions to obtain primary regression test cases, and performing primary regression test by using the primary regression test cases until all the primary regression test cases pass. The scheme uses the proper test cases to carry out high-efficiency regression testing by classifying the test cases into importance levels.

Description

Regression testing method and device for multi-version system of mobile electronic equipment
Technical Field
The present invention relates to the field of regression testing, and in particular, to a regression testing method and apparatus for a multi-version system of a mobile electronic device.
Background
Due to the rapid development of domestic mobile electronic devices, many mobile electronic devices are exported to multiple countries, each mobile electronic device corresponds to different countries and has different system versions, even the detailed functions under the same functional modules among different versions are slightly different, along with the popularization of the phenomenon, the continuous use of the traditional regression test method only aiming at a single or a few versions is not accurate enough, the system and the regularity are lacking, and the method easily causes the problem of discovering one version to be not comprehensive enough for verification on other versions.
The existing regression method is characterized in that when a plurality of versions are regressed, a lot of time and manpower resources are occupied for accuracy and full package, or regression tests are conducted on different versions by different testers for efficiency, however, because experience levels of the testers are different, regression ranges and granularity depend on manual subjective judgment, uniformity and accuracy are lacked, regression effects become unstable, larger difference in accuracy exists, and therefore how to accurately judge the regression ranges, and the problem that the efficiency is improved by saving regression time as much as possible without omitting the version is needed to be solved.
Disclosure of Invention
The embodiment of the application provides a regression testing method and device for a multi-version system of mobile electronic equipment.
In a first aspect, an embodiment of the present application provides a regression testing method for a multi-version system of a mobile electronic device, where the method includes:
the method comprises the steps of dividing importance levels for different version systems of the same mobile electronic equipment, dividing importance levels for different functional modules in each version system, obtaining test points of each version system, dividing business processes for each test point, writing at least one test case and classifying the test case into corresponding business processes;
carrying out regression testing on the corresponding version system by using each test case to obtain primary defects, and obtaining all the test cases in the business process where the primary defects are located as associated test cases;
and taking the importance level of the functional module of the primary defect in each version system and the importance level of the version system of the primary defect as screening conditions, screening the related test cases by using the screening conditions to obtain secondary regression test cases, and performing a secondary regression test by using the secondary regression test cases until all the secondary regression test cases pass.
In a second aspect, an embodiment of the present application provides a regression testing apparatus for a multi-version system of a mobile electronic device, including:
and (3) writing a module: the method comprises the steps of dividing importance levels for different version systems of the same mobile electronic equipment, dividing importance levels for different functional modules in each version system, obtaining test points of each version system, dividing business processes for each test point, writing at least one test case and classifying the test case into corresponding business processes;
and a primary test module: carrying out regression testing on the corresponding version system by using each test case to obtain primary defects, and obtaining all the test cases in the business process where the primary defects are located as associated test cases;
and a secondary test module: and taking the importance level of the functional module of the primary defect in each version system and the importance level of the version system of the primary defect as screening conditions, screening the related test cases by using the screening conditions to obtain secondary regression test cases, and performing a secondary regression test by using the secondary regression test cases until all the secondary regression test cases pass.
In a third aspect, embodiments of the present application provide an electronic device comprising a memory having a computer program stored therein and a processor configured to run the computer program to perform a regression testing method of a multi-version system of a mobile electronic device.
In a fourth aspect, embodiments of the present application provide a readable storage medium having a computer program stored therein, the computer program comprising program code for controlling a process to perform a process comprising a regression testing method according to a multi-version system of a mobile electronic device.
The main contributions and innovation points of the invention are as follows:
the embodiment of the application divides different importance levels for the test cases, screens the test cases by taking the importance levels of different version systems and the importance levels of different functional modules as screening conditions, and provides basis for regression test; according to the scheme, the number is set for each test case, the proper test case is further selected through the number of each test case, regression test time is saved, regression test efficiency is improved, importance levels are divided for different version systems, the test cases are divided into a plurality of business process sets in the case design stage, the business process where the case is located is compiled into the case number to find the associated test case better, when regression test is performed, different importance levels can be obtained according to functional modules where defects occur under different versions, a rule-conforming case set is rapidly extracted from a case library to serve as a regression basis, test cases of different importance levels are distributed according to importance levels of different version systems and different functional modules, the effect of time-saving regression efficiency is achieved, the scheme uses the importance levels of the version and the modules and the importance level of one of the use case basic elements to match each other, the regression test stage in the project can rapidly locate the defects to be regressed according to the prior found defects, the same function can be carried out according to different versions of the different functional modules in the regression test, the same importance levels can be more accurate than the important conditions, the different versions can be more accurate performance can be achieved, and the importance levels of the different functional modules can be more compatible with different functional modules can be better than the important performance according to the important conditions, and the important performance can be better achieved.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the other features, objects, and advantages of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a flow chart of a regression testing method for a multi-version system of a mobile electronic device according to an embodiment of the present application;
FIG. 2 is a test flow diagram according to an embodiment of the present application;
FIG. 3 is a block diagram of a regression testing apparatus of a multi-version system of a mobile electronic device according to an embodiment of the present application;
fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with aspects of one or more embodiments of the present description as detailed in the accompanying claims.
It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than described in this specification. Furthermore, individual steps described in this specification, in other embodiments, may be described as being split into multiple steps; while various steps described in this specification may be combined into a single step in other embodiments.
Example 1
The embodiment of the application provides a regression testing method of a multi-version system of mobile electronic equipment, and specifically referring to fig. 1, the method comprises the following steps:
the method comprises the steps of dividing importance levels for different version systems of the same mobile electronic equipment, dividing importance levels for different functional modules in each version system, obtaining test points of each version system, dividing business processes corresponding to the functional modules for each test point, writing test cases for the test points, setting case numbers according to the business processes where the test points are located, and obtaining the version system-functional module-business process-codes in a number format;
acquiring primary defects, wherein the primary defects are defects existing in any version system, and acquiring all test cases of the primary defects in business processes of other version systems as associated test cases;
and taking the importance level of the functional module to which the primary defect belongs in other version systems and the importance level of the version system to which the primary defect belongs as screening conditions, screening the associated test cases by using the screening conditions to obtain primary regression test cases, and performing primary regression test by using the primary regression test cases until all the primary regression test cases pass.
In the scheme, the important grade of each version system is divided into an advanced version, a medium version and a low version, wherein the advanced version system is a base line version or a version of an export important country region, the medium version system is a common version or a version of an export common country region, and the low level system is a common version or a non-commercial version. Specifically, the baseline version is a stable version formed in the development process of the software, and the baseline version is the basis of subsequent software development.
In the scheme, different functional modules in each version of system are divided into high-level functional modules, medium-level functional modules and low-level functional modules, wherein the high-level functional modules are modules responsible for key functions or influencing basic function operation of electronic equipment, the medium-level functional modules are modules responsible for core functions or characteristic functions, and the low-level functional modules are modules with simple functions or do not influence basic function operation of the electronic equipment.
In the scheme, the primary defects are obtained according to feedback of a user in actual application or obtained when testing different versions of systems by using test data.
In this scheme, the numbering formatVersion systemThe version system of the test case belongs to different areas such as China, the United states, russia and the like.
Specifically, the functional modules in the numbering format are functional modules to which the test case belongs, such as functional modules of an application market, a setting, a clock, a compass, and the like.
Specifically, the service flow in the number format is different services executed by the test case, such as wallpaper replacement, alarm clock setting, ring setting and the like.
Specifically, the codes in the numbering format represent the sequence of steps for different services, such as 001 open setting, 002 click on wallpaper, 003 select image, 004 confirm replacement.
For example, the test cases for which wallpaper can be changed according to the numbering rules of the test cases may be: els-sz-bzgh-001, els-sz-bzgh-002 and the like, wherein els represents that the version system to which the test case belongs is Russian, sz represents that the functional module to which the test case belongs is set, bzgh represents that the service executed by the test case is wallpaper replacement, and 001, 002 and 003 represent the step sequence of the wallpaper replacement service.
Specifically, the case number in the scheme includes both the functional module and the business process, so that the defects found before can be found in the regression process.
In the step of acquiring all test cases in the business processes of the primary defect in other version systems as the associated test cases, the test cases which are the same as the business processes of the primary defect are acquired as the associated test cases according to the serial number of each test case.
Specifically, when the regression test is performed to find the defects, the tester marks the test cases where the defects are found, that is, marks which test cases the defects are found when the defects are executed, so that the follow-up repair of the defects is facilitated. In other words, the method can obtain the test case corresponding to the defect through the defect found in the historical regression.
In some embodiments, the solution determines the associated test case according to the service flow in the serial number of the test case, and even if the version system and the functional module of the serial number of the test case are different but the service flow is the same, the test case is considered to be the associated test case, because in different version systems, the same service flow may have different implementation manners, and in order to verify the repair situation of the defect, regression test is performed on the service flow of various implementation manners.
In the scheme, the importance level of the functional module of the primary defect in each version system and the importance level of the version system of the primary defect are used as screening conditions, so that the same problems in other version systems can be eliminated by the minimum test times in different version systems.
In the step of screening the associated test cases by using screening conditions to obtain primary regression test cases, the test cases are classified into high-level test cases, medium-level test cases and low-level test cases, and if the importance level of the primary defect in the current version system is high or the importance level of the functional module to which the primary defect belongs in the current version system is high, all the associated test cases of the current version system are used as primary regression test cases of the current version system.
Specifically, if the importance level of the primary defect in the current version system is high, or the importance level of the functional module to which the primary defect belongs in the current version system is high, the primary defect is considered to be a more serious defect, so that all the associated test cases of the current version system are taken as primary regression test cases and executed to judge the repair situation of the primary defect in the current version system.
In the step of screening the associated test cases by using screening conditions to obtain primary regression test cases, classifying the test cases into high-level test cases, medium-level test cases and low-level test cases, and taking the associated test cases with the high-level and medium-level importance levels in the current version system as the primary regression test cases of the current version system if the importance level of the primary defect in the current version system and the highest importance level of the functional module to which the primary defect belongs in the importance level in the current version system are the medium-level.
Specifically, if the importance level of the primary defect in the current version system and the highest importance level of the functional module to which the primary defect belongs in the importance level in the current version system are intermediate levels, the primary defect is considered to be a general serious defect, so that only high-level and intermediate-level associated test cases need to be executed.
In the step of screening the associated test cases by using screening conditions to obtain primary regression test cases, classifying the test cases into high-level test cases, medium-level test cases and low-level test cases, and taking the associated test cases with high-level importance levels in the current version system as the primary regression test cases of the current version system if the importance levels of the primary defects in the current version system and the highest importance levels of the functional modules to which the primary defects belong in the importance levels in the current version system are low.
Specifically, if the importance level of the primary defect in the current version system and the highest importance level of the functional module to which the primary defect belongs in the importance level in the current version system are low, the primary defect is considered to be a trivial defect, so that only advanced related test cases need to be executed.
Specifically, the scheme divides importance levels for different version systems, divides importance levels for different functional modules in each version system, divides importance levels for test cases, and screens the test cases by reasonably applying the importance levels of different versions and different functional modules, so that the time of secondary regression test can be saved, and the regression efficiency is improved.
In the step of using primary regression test cases to perform primary regression test until all the primary regression test cases pass, if the failed primary regression test cases exist, acquiring secondary defects according to the failed primary regression test, using the test cases with the found secondary defects as the secondary defect test cases, and acquiring a current version system, a current functional module and the test cases with the same importance level as and above the secondary defect test cases in the current business process as the secondary regression test cases to perform secondary regression test until all the secondary regression test cases pass.
Specifically, the test cases of other version systems do not need to be considered when performing the secondary regression test.
Specifically, as shown in fig. 2, if there is a failed secondary regression test case, the test is performed again by using the same method as the secondary regression test.
The method and the device are suitable for the situation that when the mobile electronic equipment is pushed out for use, a user finds out a defect in a certain system version and feeds back the defect to obtain a primary defect, and the defect can be checked in other system versions through the method and the device, and the defect can be found out and repaired in the least test time.
Example two
Based on the same conception, referring to fig. 3, the application further provides a regression testing device of the multi-version system of the mobile electronic device, which comprises:
and (3) writing a module: the method comprises the steps of dividing importance levels for different version systems of the same mobile electronic equipment, dividing importance levels for different functional modules in each version system, obtaining test points of each version system, dividing business processes corresponding to the functional modules for each test point, writing test cases for the test points, setting case numbers according to the business processes where the test points are located, and obtaining the version system-functional module-business process-codes in a number format;
a first test module: acquiring primary defects, wherein the primary defects are defects existing in any version system, and acquiring all test cases of the primary defects in business processes of other version systems as associated test cases;
and a second test module: and taking the importance level of the functional module to which the primary defect belongs in other version systems and the importance level of the version system to which the primary defect belongs as screening conditions, screening the associated test cases by using the screening conditions to obtain primary regression test cases, and performing primary regression test by using the primary regression test cases until all the primary regression test cases pass.
Example III
This embodiment also provides an electronic device, referring to fig. 4, comprising a memory 404 and a processor 402, the memory 404 having stored therein a computer program, the processor 402 being arranged to run the computer program to perform the steps of any of the method embodiments described above.
In particular, the processor 402 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more integrated circuits of embodiments of the present application.
The memory 404 may include, among other things, mass storage 404 for data or instructions. By way of example, and not limitation, memory 404 may comprise a Hard Disk Drive (HDD), floppy disk drive, solid State Drive (SSD), flash memory, optical disk, magneto-optical disk, tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Memory 404 may include removable or non-removable (or fixed) media, where appropriate. Memory 404 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 404 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, memory 404 includes Read-only memory (ROM) and Random Access Memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or FLASH memory (FLASH) or a combination of two or more of these. The RAM may be Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM) where appropriate, and the DRAM may be fast page mode dynamic random access memory 404 (FPMDRAM), extended Data Output Dynamic Random Access Memory (EDODRAM), synchronous Dynamic Random Access Memory (SDRAM), or the like.
Memory 404 may be used to store or cache various data files that need to be processed and/or used for communication, as well as possible computer program instructions for execution by processor 402.
Processor 402 reads and executes the computer program instructions stored in memory 404 to implement the regression testing method of any of the multi-version systems of the mobile electronic device of the above embodiments.
Optionally, the electronic apparatus may further include a transmission device 406 and an input/output device 408, where the transmission device 406 is connected to the processor 402 and the input/output device 408 is connected to the processor 402.
The transmission device 406 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wired or wireless network provided by a communication provider of the electronic device. In one example, the transmission device includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through the base station to communicate with the internet. In one example, the transmission device 406 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
The input-output device 408 is used to input or output information. In this embodiment, the input information may be a test case, a primary defect, or the like, and the output information may be a test result or the like.
Alternatively, in the present embodiment, the above-mentioned processor 402 may be configured to execute the following steps by a computer program:
s101, classifying importance levels for different version systems of the same mobile electronic equipment, classifying importance levels for different functional modules in each version system, acquiring test points of each version system, classifying business processes corresponding to the functional modules for each test point, writing test cases for the test points, setting case numbers according to the business processes where the test points are located, and obtaining the version system-functional module-business process-codes in a number format;
s102, acquiring primary defects, which are defects existing in any version system, and acquiring all test cases of the primary defects in business processes of other version systems as associated test cases;
s103, taking the importance level of the functional module to which the primary defect belongs in other version systems and the importance level of the version system to which the primary defect belongs as screening conditions, screening the associated test cases by using the screening conditions to obtain primary regression test cases, and performing primary regression test by using the primary regression test cases until all the primary regression test cases pass.
It should be noted that, specific examples in this embodiment may refer to examples described in the foregoing embodiments and alternative implementations, and this embodiment is not repeated herein.
In general, the various embodiments may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. Some aspects of the invention may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the invention is not limited thereto. While various aspects of the invention may be illustrated and described as block diagrams, flow charts, or using some other pictorial representation, it is well understood that these blocks, apparatus, systems, techniques or methods described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.
Embodiments of the invention may be implemented by computer software executable by a data processor of a mobile device, such as in a processor entity, or by hardware, or by a combination of software and hardware. Computer software or programs (also referred to as program products) including software routines, applets, and/or macros can be stored in any apparatus-readable data storage medium and they include program instructions for performing particular tasks. The computer program product may include one or more computer-executable components configured to perform embodiments when the program is run. The one or more computer-executable components may be at least one software code or a portion thereof. In this regard, it should also be noted that any block of the logic flow as in fig. 3 may represent a procedure step, or interconnected logic circuits, blocks and functions, or a combination of procedure steps and logic circuits, blocks and functions. The software may be stored on a physical medium such as a memory chip or memory block implemented within a processor, a magnetic medium such as a hard disk or floppy disk, and an optical medium such as, for example, a DVD and its data variants, a CD, etc. The physical medium is a non-transitory medium.
It should be understood by those skilled in the art that the technical features of the above embodiments may be combined in any manner, and for brevity, all of the possible combinations of the technical features of the above embodiments are not described, however, they should be considered as being within the scope of the description provided herein, as long as there is no contradiction between the combinations of the technical features.
The foregoing examples merely represent several embodiments of the present application, the description of which is more specific and detailed and which should not be construed as limiting the scope of the present application in any way. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. The regression testing method of the multi-version system of the mobile electronic equipment is characterized by comprising the following steps of:
the method comprises the steps of dividing importance levels for different version systems of the same mobile electronic equipment, dividing importance levels for different functional modules in each version system, obtaining test points of each version system, dividing business processes corresponding to the functional modules for each test point, writing test cases for the test points, setting case numbers according to the business processes where the test points are located, and obtaining the version system-functional module-business process-codes in a number format;
acquiring primary defects, wherein the primary defects are defects existing in any version system, and acquiring all test cases of the primary defects in business processes of other version systems as associated test cases;
and taking the importance level of the functional module to which the primary defect belongs in other version systems and the importance level of the version system to which the primary defect belongs as screening conditions, screening the associated test cases by using the screening conditions to obtain primary regression test cases, and performing primary regression test by using the primary regression test cases until all the primary regression test cases pass.
2. The regression testing method of the multi-version system of the mobile electronic device according to claim 1, wherein the primary defect is obtained according to feedback of a user during actual application or obtained when testing different versions of the system by using test data.
3. The regression testing method of a multi-version system of a mobile electronic device according to claim 1, wherein in the step of acquiring all test cases of a primary defect in the business processes of other version systems as associated test cases, the test cases identical to the business process to which the primary defect belongs are acquired as associated test cases according to the number of each test case.
4. The regression testing method of the multi-version system of the mobile electronic device according to claim 1, wherein in the step of screening the associated test cases by using screening conditions to obtain the primary regression test cases, the test cases are classified into a high-level test case, a medium-level test case and a low-level test case, and if the importance level of the primary defect in the current version system is high or the importance level of the functional module to which the primary defect belongs in the current version system is high, all the associated test cases of the current version system are used as the primary regression test cases of the current version system.
5. The regression testing method of the multi-version system of the mobile electronic device according to claim 1, wherein in the step of screening the associated test cases by using screening conditions to obtain primary regression test cases, the test cases are classified into a high-level test case, a medium-level test case and a low-level test case, and if the importance level of the primary defect in the current version system and the highest importance level of the functional module to which the primary defect belongs in the importance level in the current version system are the medium-level, the associated test cases with the importance levels of the high-level and the medium-level in the current version system are used as the primary regression test cases of the current version system.
6. The regression testing method of the multi-version system of the mobile electronic device according to claim 1, wherein in the step of screening the associated test cases by using screening conditions to obtain the primary regression test cases, the test cases are classified into a high-level test case, a medium-level test case and a low-level test case, and if the importance level of the primary defect in the current version system and the highest importance level of the functional module to which the primary defect belongs in the importance level in the current version system are low, the associated test case with the importance level of the current version system being high is taken as the primary regression test case of the current version system.
7. The regression testing method of the multi-version system of the mobile electronic equipment according to claim 1, wherein in the step of using the primary regression testing cases to perform the primary regression test until all the primary regression testing cases pass, if the failed primary regression testing cases exist, acquiring secondary defects according to the failed primary regression testing, taking the testing cases with the found secondary defects as the secondary defect testing cases, and then acquiring the current version system, the current functional module and the testing cases with the importance level same as or higher than that of the secondary defect testing cases under the current business process as the secondary regression testing cases to perform the secondary regression test until all the secondary regression testing cases pass.
8. A regression testing apparatus for a multi-version system of a mobile electronic device, comprising:
and (3) writing a module: the method comprises the steps of dividing importance levels for different version systems of the same mobile electronic equipment, dividing importance levels for different functional modules in each version system, obtaining test points of each version system, dividing business processes corresponding to the functional modules for each test point, writing test cases for the test points, setting case numbers according to the business processes where the test points are located, and obtaining the version system-functional module-business process-codes in a number format;
a first test module: acquiring primary defects, wherein the primary defects are defects existing in any version system, and acquiring all test cases of the primary defects in business processes of other version systems as associated test cases;
and a second test module: and taking the importance level of the functional module to which the primary defect belongs in other version systems and the importance level of the version system to which the primary defect belongs as screening conditions, screening the associated test cases by using the screening conditions to obtain primary regression test cases, and performing primary regression test by using the primary regression test cases until all the primary regression test cases pass.
9. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to run the computer program to perform a regression testing method of a multi-version system of a mobile electronic device as claimed in any one of claims 1 to 7.
10. A readable storage medium, characterized in that the readable storage medium has stored therein a computer program comprising program code for controlling a process to execute a process comprising a regression testing method of a multi-version system of a mobile electronic device according to any one of claims 1-7.
CN202311297654.0A 2023-10-09 2023-10-09 Regression testing method and device for multi-version system of mobile electronic equipment Active CN117033251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311297654.0A CN117033251B (en) 2023-10-09 2023-10-09 Regression testing method and device for multi-version system of mobile electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311297654.0A CN117033251B (en) 2023-10-09 2023-10-09 Regression testing method and device for multi-version system of mobile electronic equipment

Publications (2)

Publication Number Publication Date
CN117033251A CN117033251A (en) 2023-11-10
CN117033251B true CN117033251B (en) 2024-01-09

Family

ID=88641635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311297654.0A Active CN117033251B (en) 2023-10-09 2023-10-09 Regression testing method and device for multi-version system of mobile electronic equipment

Country Status (1)

Country Link
CN (1) CN117033251B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117435514B (en) * 2023-12-21 2024-03-01 杭州罗莱迪思科技股份有限公司 Extraction method for smoke emission test case

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106610891A (en) * 2015-10-22 2017-05-03 中兴通讯股份有限公司 Test method and device
CN113392010A (en) * 2021-06-21 2021-09-14 中国工商银行股份有限公司 Common component testing method and device, electronic equipment and storage medium
CN114281677A (en) * 2021-11-29 2022-04-05 神策网络科技(北京)有限公司 Test case management method, device, equipment and medium based on multi-label system
CN116467179A (en) * 2023-03-22 2023-07-21 北京安博通科技股份有限公司 Test case batch editing method and device and processing equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200272559A1 (en) * 2019-02-26 2020-08-27 NIIT Technologies Ltd Enhancing efficiency in regression testing of software applications

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106610891A (en) * 2015-10-22 2017-05-03 中兴通讯股份有限公司 Test method and device
CN113392010A (en) * 2021-06-21 2021-09-14 中国工商银行股份有限公司 Common component testing method and device, electronic equipment and storage medium
CN114281677A (en) * 2021-11-29 2022-04-05 神策网络科技(北京)有限公司 Test case management method, device, equipment and medium based on multi-label system
CN116467179A (en) * 2023-03-22 2023-07-21 北京安博通科技股份有限公司 Test case batch editing method and device and processing equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Web应用的浏览器兼容性测试方法研究;高培;;软件导刊(09);全文 *

Also Published As

Publication number Publication date
CN117033251A (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN117033251B (en) Regression testing method and device for multi-version system of mobile electronic equipment
CN108694123B (en) Regression testing method, computer readable storage medium and terminal equipment
CN115809203B (en) Dynamic nesting method and device for software test cases and application of dynamic nesting method and device
CN108388509B (en) Software testing method, computer readable storage medium and terminal equipment
CN112526319B (en) Chip testing method and device, processor chip and server
US11467824B2 (en) Method and system for fast building and testing software
CN110134598B (en) Batch processing method, device and system
CN114546749A (en) Chip random test case regression method, device, equipment and readable medium
CN108540632B (en) OTA (over the air) test method and device and intelligent terminal
US11115137B2 (en) Method and electronic testing device for determining optimal test case for testing user equipment
CN112685079A (en) Method and equipment for automatically analyzing test range based on code difference comparison
CN111078526A (en) Test case generation method and device and storage medium
CN116662210B (en) Interface regression testing method, device and application
CN111176985A (en) Software interface performance testing method and device, computer equipment and storage medium
CN114385493A (en) Performance test method and device, electronic equipment and storage medium
CN116756044B (en) RPC remote debugging method, device and application based on data link tracking
CN112017726A (en) Read interference test method and device of flash memory chip and readable storage medium
CN105679690A (en) Method for prolonging service life of test wafer
CN105740114A (en) Fault tolerance test method and apparatus for mobile terminal
CN107229564B (en) Pressure simulation method and device
CN117150999B (en) Method, device, terminal and medium for recording ECO implementation information by using redundant circuit
US20110208945A1 (en) Generating random addresses for verification of distributed computerized devices
CN116346770A (en) Production optimization method, device, equipment and storage medium for equipment codes
US20220404414A1 (en) Method and testing apparatus related to wafer testing
CN117615407A (en) Automatic test method and device for WiFi performance and terminal equipment

Legal Events

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