CN113111009A - Software testing device and testing method - Google Patents

Software testing device and testing method Download PDF

Info

Publication number
CN113111009A
CN113111009A CN202110522227.2A CN202110522227A CN113111009A CN 113111009 A CN113111009 A CN 113111009A CN 202110522227 A CN202110522227 A CN 202110522227A CN 113111009 A CN113111009 A CN 113111009A
Authority
CN
China
Prior art keywords
software
test
testing
module
result
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
CN202110522227.2A
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.)
Shanghai Youda Information Technology Co ltd
Original Assignee
Shanghai Youda 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 Shanghai Youda Information Technology Co ltd filed Critical Shanghai Youda Information Technology Co ltd
Priority to CN202110522227.2A priority Critical patent/CN113111009A/en
Publication of CN113111009A publication Critical patent/CN113111009A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Abstract

The invention relates to a software testing device and a testing method, belonging to the technical field of software testing, and comprising a software output module, a software storage database, a judgment module, a testing module and a recording module; the basic performance of the input software is initially detected through a smoking test, so that the problem that the basic performance is insufficient and other tests cannot be normally carried out due to the fact that the test cannot be normally carried out is avoided, time is wasted, and efficiency is reduced; the software storage database is used for storing various software data, whether the bearing capacity of the whole system reaches a threshold value is judged in advance after the test is started, the scheduling engine is used for scheduling the software to different test environments constructed in the test assembly to test when the bearing capacity of the whole system does not reach the threshold value, all performances are automatically and comprehensively detected, and the working pressure of technicians is reduced.

Description

Software testing device and testing method
Technical Field
The invention relates to the field of software detection, in particular to a software testing device and a software testing method.
Background
Software is a series of computer data and a set of instructions organized according to a specific order, and is generally divided into system software, application software and middleware between the system software and the application software, and the software not only includes computer programs capable of running on a computer, but also documents related to the computer programs are generally considered as a part of the software, and the software is simply a program and document assembly.
With the continuous development and progress of national society science and technology, the computer industry is rapidly developed, under the large environment that the mobile internet technology is rapidly developed, the emerging industries such as third party payment, e-commerce, online shopping, network financing, electronic games and the like are also greatly developed, a large amount of APP is developed along with the development, the development of various software is insufficient, the software permeates a large amount of mental labor, logical thinking, intelligent activities and technical levels, great convenience is brought to people, and the mobile internet technology becomes a part of daily life of people.
Software testing is a process for promoting the verification or comparison between actual output and expected output, and is a process for operating software under specified conditions to find errors, measure quality and evaluate whether the software meets requirements or not, wherein the software is continuously updated, so that in order to avoid the phenomena of breakdown, blockage and the like in the process of using the software, the software testing is inconvenient to use and causes bad experience for customers, and therefore, technicians need to test the software after the software is developed so as to reduce the probability of errors in the software operation process.
Because the software test is the only reliable means for verifying the software quality and is an important way for improving the stability of software products, the software test is continuously developed while the software is continuously developed, along with the continuous development of the software test technology, the test method is more and more diversified and has strong pertinence, and the appropriate test method enables the software test to be more successful.
At present, in the development process, technicians for software testing construct different testing environments according to testing requirements, use a third party to speak software input, test the software under different versions in the testing stage according to different testing requirements, continuously change the testing environments, input different types of software, detect and feed back, and have the advantages of low automation degree, complex process and low efficiency.
Disclosure of Invention
Aiming at the defects of the existing method, the invention discloses a software testing device and a testing method.
The technical method comprises the following steps: a software testing apparatus comprising:
and the software transmission module is used for recording the software to be tested into the whole testing device so as to carry out subsequent testing operation on various types of software.
And the software storage database is used for temporarily storing the software data transmitted to the input system.
The test module consists of a preliminary test unit and a test assembly, wherein the preliminary test unit is used for constructing a smoke test environment to detect the basic functions of the software, the test assembly comprises an interface test module, a pressure test module, a dynamic test module, an installation test module and an unloading test module, different test environments are provided for the test of the software, and different types of tests are carried out on the software.
And the judging module is used for judging the smoking test result, judging whether the running number in the test module is greater than a threshold value or not and judging the test results of various test modules in the test assembly to acquire whether the test result of corresponding software is qualified or not.
And the recording module is used for recording the software test result obtained by the judging module and comprises a first record generating unit and a second record generating unit, the first record generating unit is used for recording the software data which is unqualified in the smoking test, and the second record generating unit is used for classifying and recording the software which enters the test assembly and is subjected to various tests according to different results.
The in-device test assembly comprises:
the interface test module checks the data exchange, the transmission and control management process and the mutual logic dependency relationship among the systems.
And the pressure testing module is used for performing operation testing on the environment condition with deficient component system resources.
Dynamic test module, running software, checking its dynamic behavior and correctness of running result
And the installation test module is used for testing the installation codes and the installation manual, testing whether the software is successfully installed and upgraded for the first time in a normal or abnormal state, and normally operating after installation.
And (4) unloading the test module, testing whether the software can be unloaded, and whether the unloading is clean, and changing the system.
The scheduling engine is used for capturing the software in the software storage database and regularly driving the software to the test environment of the components of different test modules for detection
The software testing method comprises the following specific steps:
(1) and various types of software are transmitted into the testing device through the software transmission module and subjected to smoking testing, the judgment is carried out through the judgment module, if the software is unqualified, the first record generation unit is used for recording, and if the software is qualified, the software is stored into the software storage database for temporary placement.
(2) And judging whether the software bearing capacity in the test system is greater than a system threshold value, if so, not executing the scheduling engine, if not, executing the scheduling engine, inputting the software into the test assembly, and testing in various test environments constructed by the test modules.
(3) And judging the test result of the software by each test module in the test assembly, and respectively recording the test result through the second record generating unit according to the qualified result and the unqualified result.
Preferably, the test environment constructed by the test module includes an interface test environment, a pressure test environment, a dynamic test environment, an installation test environment and an uninstallation test environment.
Preferably, the steps adopt an Android operating system.
The invention has the beneficial effects that:
(1) the basic performance of the input software is initially detected through a smoking test, so that the condition that the basic performance is insufficient and other tests can not be carried out normally, time is wasted, and efficiency is reduced is avoided.
(2) The software storage database is used for storing various software data, whether the bearing capacity of the whole system reaches a threshold value is judged in advance after the test is started, the scheduling engine is used for scheduling the software to different test environments constructed in the test assembly to test when the bearing capacity of the whole system does not reach the threshold value, all performances are automatically and comprehensively detected, and the working pressure of technicians is reduced.
Drawings
FIG. 1 is a system block diagram;
FIG. 2 is a work flow diagram;
fig. 3 is a partial block diagram.
Detailed Description
For further understanding of the present invention, the present invention will be described in detail with reference to examples, which are provided for illustration of the present invention but are not intended to limit the scope of the present invention.
As shown in fig. 1 to 3, a software testing apparatus includes:
and the software transmission module is used for recording the software to be tested into the whole testing device so as to carry out subsequent testing operation on various types of software.
And the software storage database is used for temporarily storing the software data transmitted to the input system.
The test module consists of a preliminary test unit and a test assembly, provides different test environments for the test of the software and tests different types of the software.
And the judging module is used for judging the software testing result and acquiring whether the testing result of the corresponding software is qualified.
And the recording module is used for recording the software test result obtained by the judging module.
The primary test unit in the test module constructs a smoke test environment to detect the basic functions of the software, so that the condition that the basic performance is insufficient to cause test failure in subsequent tests and influence later test efficiency is avoided.
The test assembly in the test module includes:
the interface test module checks the data exchange, the transmission and control management process and the mutual logic dependency relationship among the systems.
The pressure test module is used for performing operation test on the environment condition with deficient component system resources, and the resources to be subjected to the pressure test comprise internal memory, CPU availability, disk space, network bandwidth and the like, and the pressure test is performed concurrently.
And the dynamic test module runs software and checks the correctness of the dynamic behavior and the running result.
And the test module is used for testing the installation codes and the installation manual, testing whether the software is successfully installed and upgraded for the first time in a normal or abnormal state and normally running after installation, wherein the abnormal condition comprises the scenes of insufficient disk space, lack of directory creation authority and the like.
And the unloading test module is used for testing whether the software can be unloaded or not, whether the unloading is clean or not, whether the system is changed or not and whether the originally changed system value is modified or not.
And the scheduling engine is used for capturing the software in the software storage database and regularly driving the software to the test environments of the components of different test modules for detection.
A software testing method using the device is characterized by comprising the following steps:
(1) and various types of software are transmitted into the testing device through the software transmission module and subjected to smoking testing, the judgment is carried out through the judgment module, if the software is unqualified, the first record generation unit is used for recording, and if the software is qualified, the software is stored into the software storage database for temporary placement.
(2) And judging whether the software bearing capacity in the test system is greater than a system threshold value, if so, not executing the scheduling engine, if not, executing the scheduling engine, inputting the software into the test assembly, and testing in various test environments constructed by the test modules.
(3) And judging the test result of the software by each test module in the test assembly, and respectively recording the test result through the second record generating unit according to the qualified result and the unqualified result.
The testing environment constructed by the testing module comprises an interface testing environment, a pressure testing environment, a dynamic testing environment, an installation testing environment and an unloading testing environment, the software is tested under different testing environments, the testing result under each environment is recorded by the second record generating unit, the interface testing environment, the pressure testing environment, the dynamic testing environment, the installation testing environment and the unloading testing environment are arranged according to the sequence, the software regularly enters the testing environments to be tested respectively under the action of the scheduling engine according to the arrangement sequence of the testing environments, the automation and the intellectualization of the software testing process are realized, and the detection efficiency is improved.
An Android operating system is adopted in the steps.
The present invention and its embodiments have been described above schematically, without limitation, and the embodiments of the present invention are shown in the drawings, and the actual structures are not limited thereto. Therefore, those skilled in the art should understand that they can easily and effectively design and modify the structure and embodiments of the present invention without departing from the spirit and scope of the present invention.

Claims (8)

1. A software testing apparatus, characterized in that the software testing apparatus comprises:
and the software transmission module is used for recording the software to be tested into the whole testing device so as to carry out subsequent testing operation on various types of software.
And the software storage database is used for temporarily storing the software data transmitted to the input system.
The test module consists of a preliminary test unit and a test assembly, provides different test environments for the test of the software and tests different types of the software.
And the judging module is used for judging the software testing result and acquiring whether the testing result of the corresponding software is qualified.
And the recording module is used for recording the software test result obtained by the judging module.
2. The software testing device according to claim 1, wherein the preliminary testing unit in the testing module constructs a smoke test environment to test the basic functions of the software.
3. The software testing apparatus of claim 2, wherein the testing assembly in the testing module comprises:
the interface test module checks the data exchange, the transmission and control management process and the mutual logic dependency relationship among the systems.
And the pressure testing module is used for performing operation testing on the environment condition with deficient component system resources.
And the dynamic test module runs software and checks the correctness of the dynamic behavior and the running result.
And the installation test module is used for testing the installation codes and the installation manual, testing whether the software is successfully installed and upgraded for the first time in a normal or abnormal state, and normally operating after installation.
And (4) unloading the test module, testing whether the software can be unloaded, and whether the unloading is clean, and changing the system.
And the scheduling engine is used for capturing the software in the software storage database and regularly driving the software to the test environments of the components of different test modules for detection.
4. The software testing apparatus according to claim 3, wherein the recording module includes a first record generating unit and a second record generating unit; the first record generation unit records the software data which is unqualified in the smoking test; and the second record generating unit is used for classifying and recording the software which enters the testing assembly and is subjected to various tests according to different results.
5. The software testing apparatus according to claim 4, wherein: the judgment module judges the smoking test result, judges whether the running number in the test module is greater than a threshold value or not and judges the test results of various test modules in the test assembly.
6. A software testing method is characterized by comprising the following steps:
(1) and various types of software are transmitted into the testing device through the software transmission module and subjected to smoking testing, the judgment is carried out through the judgment module, if the software is unqualified, the first record generation unit is used for recording, and if the software is qualified, the software is stored into the software storage database for temporary placement.
(2) And judging whether the software bearing capacity in the test system is greater than a system threshold value, if so, not executing the scheduling engine, if not, executing the scheduling engine, inputting the software into the test assembly, and testing in various test environments constructed by the test modules.
(3) And judging the test result of the software by each test module in the test assembly, and respectively recording the test result through the second record generating unit according to the qualified result and the unqualified result.
7. The software testing method according to claim 6, characterized in that: the test environment constructed by the test module comprises an interface test environment, a pressure test environment, a dynamic test environment, an installation test environment and an unloading test environment.
8. The software testing method according to claim 6, characterized in that: and (3) adopting an Android operating system in the step (2).
CN202110522227.2A 2021-05-13 2021-05-13 Software testing device and testing method Pending CN113111009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110522227.2A CN113111009A (en) 2021-05-13 2021-05-13 Software testing device and testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110522227.2A CN113111009A (en) 2021-05-13 2021-05-13 Software testing device and testing method

Publications (1)

Publication Number Publication Date
CN113111009A true CN113111009A (en) 2021-07-13

Family

ID=76722463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110522227.2A Pending CN113111009A (en) 2021-05-13 2021-05-13 Software testing device and testing method

Country Status (1)

Country Link
CN (1) CN113111009A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778887A (en) * 2021-09-16 2021-12-10 厦门理工学院 Software testing device and software testing method thereof

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101819610A (en) * 2010-05-17 2010-09-01 浙江富春江移动通信科技有限公司 WEB-based phone housing CAD (computer aided design) method
CN106407100A (en) * 2015-07-29 2017-02-15 中兴通讯股份有限公司 Method and apparatus for realizing continuous integration testing
CN108984418A (en) * 2018-08-22 2018-12-11 中国平安人寿保险股份有限公司 Software testing management method, device, electronic equipment and storage medium
CN109376076A (en) * 2018-09-21 2019-02-22 华迪计算机集团有限公司 A kind of test method and device for integrated system
US20190129712A1 (en) * 2017-10-27 2019-05-02 Intuit Inc. Methods, systems, and computer program products for an integrated platform for continuous deployment of software application delivery models
US10318412B1 (en) * 2018-06-29 2019-06-11 The Travelers Indemnity Company Systems, methods, and apparatus for dynamic software generation and testing
CN110046099A (en) * 2019-04-11 2019-07-23 艾伯资讯(深圳)有限公司 Intelligent software test macro and method
US20190294535A1 (en) * 2018-03-23 2019-09-26 Sungard Availability Services, Lp Unified test automation system
CN110287090A (en) * 2019-05-08 2019-09-27 聚融医疗科技(杭州)有限公司 A kind of automated testing method and system of ultrasound software
CN110888801A (en) * 2019-10-23 2020-03-17 贝壳技术有限公司 Software program testing method and device, storage medium and electronic equipment
CN111045911A (en) * 2019-12-19 2020-04-21 京东数字科技控股有限公司 Performance test method, performance test device, storage medium and electronic equipment
CN111813698A (en) * 2020-08-27 2020-10-23 江苏洲际软件有限公司 Software testing device and testing method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101819610A (en) * 2010-05-17 2010-09-01 浙江富春江移动通信科技有限公司 WEB-based phone housing CAD (computer aided design) method
CN106407100A (en) * 2015-07-29 2017-02-15 中兴通讯股份有限公司 Method and apparatus for realizing continuous integration testing
US20190129712A1 (en) * 2017-10-27 2019-05-02 Intuit Inc. Methods, systems, and computer program products for an integrated platform for continuous deployment of software application delivery models
US20190294535A1 (en) * 2018-03-23 2019-09-26 Sungard Availability Services, Lp Unified test automation system
US10318412B1 (en) * 2018-06-29 2019-06-11 The Travelers Indemnity Company Systems, methods, and apparatus for dynamic software generation and testing
CN108984418A (en) * 2018-08-22 2018-12-11 中国平安人寿保险股份有限公司 Software testing management method, device, electronic equipment and storage medium
CN109376076A (en) * 2018-09-21 2019-02-22 华迪计算机集团有限公司 A kind of test method and device for integrated system
CN110046099A (en) * 2019-04-11 2019-07-23 艾伯资讯(深圳)有限公司 Intelligent software test macro and method
CN110287090A (en) * 2019-05-08 2019-09-27 聚融医疗科技(杭州)有限公司 A kind of automated testing method and system of ultrasound software
CN110888801A (en) * 2019-10-23 2020-03-17 贝壳技术有限公司 Software program testing method and device, storage medium and electronic equipment
CN111045911A (en) * 2019-12-19 2020-04-21 京东数字科技控股有限公司 Performance test method, performance test device, storage medium and electronic equipment
CN111813698A (en) * 2020-08-27 2020-10-23 江苏洲际软件有限公司 Software testing device and testing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113778887A (en) * 2021-09-16 2021-12-10 厦门理工学院 Software testing device and software testing method thereof
CN113778887B (en) * 2021-09-16 2022-07-22 厦门理工学院 Software testing device and software testing method thereof

Similar Documents

Publication Publication Date Title
US9569325B2 (en) Method and system for automated test and result comparison
CN111881014B (en) System test method, device, storage medium and electronic equipment
CN111897724A (en) Automatic testing method and device suitable for cloud platform
CN112650685A (en) Automatic testing method and device, electronic equipment and computer storage medium
CN113946499A (en) Micro-service link tracking and performance analysis method, system, equipment and application
CN112433948A (en) Simulation test system and method based on network data analysis
JP2005222108A (en) Bug analysis method and device
CN113238930A (en) Software system testing method and device, terminal equipment and storage medium
CN113111009A (en) Software testing device and testing method
CN112985488B (en) Temperature stress accelerated life test system and method for sensor
CN113079061A (en) Internet of things performance testing method and system
CN115422091B (en) Firmware debugging method and device, electronic equipment and storage medium
CN115757138A (en) Method and device for determining script abnormal reason, storage medium and electronic equipment
US7415560B2 (en) Method of automatically monitoring computer system debugging routine
CN115757099A (en) Automatic test method and device for platform firmware protection recovery function
CN115878400A (en) Test method, test apparatus, computer device, storage medium, and program product
CN115203025A (en) Test defect analysis method and device
CN114780412A (en) Page testing method, system, device and medium
CN105988818B (en) Automatic bug debugging system and method
CN111198798B (en) Service stability measuring method and device
CN111124787B (en) Method, system and equipment for verifying stability of MCS multi-node concurrent dump
CN115202968A (en) Problem positioning method and device for transaction system
CN115480984A (en) System and method for analyzing performance of server and application software
CN107390115B (en) Method for detecting SC serial port and MC serial port of IO in raid memory in batch
CN116991724A (en) Interface testing method and device based on monitoring log, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210713

RJ01 Rejection of invention patent application after publication