CN105426306A - Method for testing internal memory in system test - Google Patents
Method for testing internal memory in system test Download PDFInfo
- Publication number
- CN105426306A CN105426306A CN201510741274.0A CN201510741274A CN105426306A CN 105426306 A CN105426306 A CN 105426306A CN 201510741274 A CN201510741274 A CN 201510741274A CN 105426306 A CN105426306 A CN 105426306A
- Authority
- CN
- China
- Prior art keywords
- software
- tested
- memory
- test
- internal memory
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3604—Software analysis for verifying properties of programs
- G06F11/3612—Software analysis for verifying properties of programs by runtime analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
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)
- Software Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a method for testing an internal memory in a system test. The method comprises the following steps: 1), introducing software to be tested into a system, and receiving an instruction of opening a recording internal memory control page of a user; 2), displaying the recording internal memory control page, for enabling the user to test the software to be tested on the recording internal memory control page; and 3), obtaining an internal memory leakage analysis report, which is composed of software test information and software internal memory analysis result and is generated when the user carries out the internal memory test on the software to be tested. The method can be used for displaying the recording internal memory control page most conveniently, so that the user is convenient to carry out the internal memory test on the software to be tested on the recording internal memory control page, therefore the internal memory test information and the analysis result of the software can be obtained, the internal memory leakage of some functions of the software can be tested, and the method is more efficient and faster.
Description
Technical field
The present invention relates to a kind of method of memory test, specifically a kind of method of memory test in system testing, belongs to computer software application technical field.
Background technology
Along with expanding economy, the universal of computing machine plays scale.No matter be daily life or work and study, computing machine to a certain extent, can facilitate our life more easily, improves our quality of life and work efficiency.Wherein, the application software be installed on computing machine is all the more so.
The development of computing machine has driven the swift and violent impetus of software development, but large software is in operational process, often there will be the serious problems such as leakage.In order to security software and user can be enable normally to use, usually need to carry out memory test to software.Generally speaking, the memory test technology of existing existence mainly judges to judge whether to there is RAM leakage by the application of internal memory in scrutiny program and release.The memory test of being undertaken by the method can produce data wrong report, and is not easily implemented in the system testing stage.
Summary of the invention
Have problems for above-mentioned prior art, the invention provides the method for memory test in a kind of system testing, the method can avoid the result producing data wrong report during memory test on the one hand, and the method easily can be implemented when system testing on the other hand.
The present invention is achieved through the following technical solutions above-mentioned purpose: a kind of method of memory test in system testing, this localization method comprises the steps:
1), by software import system to be tested, and the instruction that user opens the record internal memory manipulation page is received;
2), show the described record internal memory manipulation page, described user is tested described software to be tested on the described record internal memory manipulation page;
3), obtain described user when memory test is carried out to described software to be tested, generate the RAM leakage analysis report be made up of software test information and software memory analysis result.
Further, described step 1) in, the described record internal memory manipulation page is that the system environments run according to the function of software to be tested, the source code of software to be tested and software to be tested by system testing server generates.
Further, described step 3) in, obtain described user when carrying out memory test to described software to be tested, the software test information of generation comprises:
When acquisition user opens software to be tested, the Installed System Memory that software takies;
When acquisition user uses software to be tested to carry out functional test, the Installed System Memory that software takies;
When acquisition user closes software function to be tested, the Installed System Memory that software takies;
When acquisition user closes software to be tested, the Installed System Memory that software takies.
Further, described step 3) in, obtain described user when carrying out memory test to described software to be tested, the software memory analysis result of generation comprises:
When acquisition user opens software to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user uses software to be tested to carry out functional test, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user closes software function to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user closes software to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code.
The invention has the beneficial effects as follows: the method can manipulate the page by the most direct display record internal memory, facilitate user can treat testing software on the record internal memory manipulation page and carry out memory test, thus memory test information and the analysis result of software can be obtained, and the RAM leakage of some function of software existence can be tested out, efficiency is with quick more.And can not in testing, the data wrong report of generation, can draw analysis result intuitively from software memory analysis report and software test information.
Because the record internal memory manipulation page is that the system environments run according to the function of software to be tested, the source code of software to be tested and software to be tested by system testing server generates, so in the system testing stage, very easily implement, ensure the test that software under testing can be reliable and stable in systems in which.
Accompanying drawing explanation
Fig. 1 is the internal storage testing method process flow diagram under a kind of system testing of providing of the embodiment of the present invention one;
Fig. 2 is the internal storage testing method process flow diagram under a kind of system testing of providing of the embodiment of the present invention two.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
A method for memory test in system testing, the method comprises the steps:
1), by software import system to be tested, and the instruction that user opens the record internal memory manipulation page is received;
2), show the described record internal memory manipulation page, described user is tested described software to be tested on the described record internal memory manipulation page;
3), obtain described user when memory test is carried out to described software to be tested, generate by software test information and software memory
The RAM leakage analysis report of analysis result composition.
Described step 1) in, the described record internal memory manipulation page is that the system environments run according to the function of software to be tested, the source code of software to be tested and software to be tested by system testing server generates.
Described step 3) in, obtain described user when carrying out memory test to described software to be tested, the software test information of generation comprises:
When acquisition user opens software to be tested, the Installed System Memory that software takies;
When acquisition user uses software to be tested to carry out functional test, the Installed System Memory that software takies;
When acquisition user closes software function to be tested, the Installed System Memory that software takies;
When acquisition user closes software to be tested, the Installed System Memory that software takies.
Described step 3) in, obtain described user when carrying out memory test to described software to be tested, the software memory analysis result of generation comprises:
When acquisition user opens software to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user uses software to be tested to carry out functional test, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user closes software function to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user closes software to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code.
Embodiment one
As shown in Figure 1, the embodiment of the present invention one provides a kind of method recording memory test, and the method comprises:
101: accept the instruction that user opens the record internal memory manipulation page;
Wherein, the software test manipulation page is by the function of system testing server according to software to be tested, and the source code of software to be tested, the system environments that software to be tested runs generates.
102: the display record internal memory manipulation page, make user treat testing software on the record internal memory manipulation page and test.
103: obtain user and treat testing software when testing, the memory test information of generation and analysis result.
Preferably, obtain user and treat testing software when testing, the software test information of generation, comprising:
When acquisition user opens software to be tested, the Installed System Memory that software takies;
When acquisition user uses software to be tested to carry out functional test, the Installed System Memory that software takies;
When acquisition user closes software function to be tested, the Installed System Memory that software takies;
When acquisition user closes software to be tested, the Installed System Memory that software takies.
Preferably, obtain user and treat testing software when testing, the software memory analysis result of generation:
When acquisition user opens software to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user uses software to be tested to carry out functional test, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user closes software function to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user closes software to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
Preferably, obtain user and treat testing software when testing, after the software test information of generation and software experience information, also comprise:
According to software test information and analysis result, generate software test report.
Method for testing software described in the embodiment of the present invention, by the display record internal memory manipulation page, user can be manipulated in software test the page treats testing software carry out record memory test, software test information and analysis result can be obtained, software can be tested out and whether there is RAM leakage.
Embodiment two
As shown in Figure 2, the embodiment of the present invention two provides a kind of method for testing software, and the method comprises:
201: receive the instruction that user opens the record memory test manipulation page;
The record memory test manipulation page is by the function of system testing server according to software to be tested, and the source code of software to be tested, the system environments that software to be tested runs generates.
202: show the software test manipulation page;
By record memory test manipulation page presentation in the computing machine of user.
203: prompting user can carry out software test, make user treat testing software on the record memory test manipulation page and test.
204: obtain user and treat testing software when testing, the record memory information of generation and memory analysis data.
Preferably, obtain user and treat testing software when testing, the software test information of generation, comprising:
When acquisition user opens software to be tested, the Installed System Memory that software takies;
When acquisition user uses software to be tested to carry out functional test, the Installed System Memory that software takies;
When acquisition user closes software function to be tested, the Installed System Memory that software takies;
When acquisition user closes software to be tested, the Installed System Memory that software takies.
Preferably, obtain user and treat testing software when testing, the software memory analysis result of generation:
When acquisition user opens software to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user uses software to be tested to carry out functional test, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user closes software function to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user closes software to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
205: according to record memory information and memory analysis data, generate the report of record memory test, then terminate.
Particularly, according to the feature of concrete software, the form of software test report can be set, then by software test information and software experience information, according to the software test report's form preset, generate software test report.
Method for testing software described in the embodiment of the present invention, by the display record internal memory manipulation page, makes user the page treat testing software test can manipulate in software test, can obtain record memory information and memory analysis data.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1. the method for memory test in system testing, it is characterized in that, the method comprises the steps:
1), by software import system to be tested, and the instruction that user opens the record internal memory manipulation page is received;
2), show the described record internal memory manipulation page, described user is tested described software to be tested on the described record internal memory manipulation page;
3), obtain described user when memory test is carried out to described software to be tested, generate the RAM leakage analysis report be made up of software test information and software memory analysis result.
2. the method for memory test in a kind of system testing according to claim 1, it is characterized in that: described step 1) in, the described record internal memory manipulation page is that the system environments run according to the function of software to be tested, the source code of software to be tested and software to be tested by system testing server generates.
3. the method for memory test in a kind of system testing according to claim 1 and 2, is characterized in that, described step 3) in, obtain described user when carrying out memory test to described software to be tested, the software test information of generation comprises:
When acquisition user opens software to be tested, the Installed System Memory that software takies;
When acquisition user uses software to be tested to carry out functional test, the Installed System Memory that software takies;
When acquisition user closes software function to be tested, the Installed System Memory that software takies;
When acquisition user closes software to be tested, the Installed System Memory that software takies.
4. the method for memory test in a kind of system testing according to claim 3, is characterized in that, described step 3) in, obtain described user when carrying out memory test to described software to be tested, the software memory analysis result of generation comprises:
When acquisition user opens software to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user uses software to be tested to carry out functional test, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user closes software function to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code;
When acquisition user closes software to be tested, the analysis result of the internal memory of the Installed System Memory that software takies and the application of software program source code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510741274.0A CN105426306A (en) | 2015-11-04 | 2015-11-04 | Method for testing internal memory in system test |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510741274.0A CN105426306A (en) | 2015-11-04 | 2015-11-04 | Method for testing internal memory in system test |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105426306A true CN105426306A (en) | 2016-03-23 |
Family
ID=55504524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510741274.0A Pending CN105426306A (en) | 2015-11-04 | 2015-11-04 | Method for testing internal memory in system test |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105426306A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109388577A (en) * | 2018-10-31 | 2019-02-26 | 江苏电力信息技术有限公司 | A kind of software project management method driven with quality testing numerical approach |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101819549A (en) * | 2010-04-13 | 2010-09-01 | 东莞宇龙通信科技有限公司 | Method and device for positioning memory leakage |
CN102289410A (en) * | 2011-06-30 | 2011-12-21 | 杭州斯凯网络科技有限公司 | Method for monitoring allocation situation of memory based on Media-Tech (MTK) platform |
US20120216076A1 (en) * | 2011-02-17 | 2012-08-23 | Pavel Macik | Method and system for automatic memory leak detection |
CN104317709A (en) * | 2014-10-21 | 2015-01-28 | 工业和信息化部电子第五研究所 | Method and system for testing performance of software |
-
2015
- 2015-11-04 CN CN201510741274.0A patent/CN105426306A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101819549A (en) * | 2010-04-13 | 2010-09-01 | 东莞宇龙通信科技有限公司 | Method and device for positioning memory leakage |
US20120216076A1 (en) * | 2011-02-17 | 2012-08-23 | Pavel Macik | Method and system for automatic memory leak detection |
CN102289410A (en) * | 2011-06-30 | 2011-12-21 | 杭州斯凯网络科技有限公司 | Method for monitoring allocation situation of memory based on Media-Tech (MTK) platform |
CN104317709A (en) * | 2014-10-21 | 2015-01-28 | 工业和信息化部电子第五研究所 | Method and system for testing performance of software |
Non-Patent Citations (1)
Title |
---|
尹文刚等: ""Android应用程序中的内存泄漏与规避方法"", 《单片机与嵌入式系统应用》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109388577A (en) * | 2018-10-31 | 2019-02-26 | 江苏电力信息技术有限公司 | A kind of software project management method driven with quality testing numerical approach |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2016219677A1 (en) | Methods and apparatus to monitor media presentations | |
TW200601114A (en) | Method and apparatus and program storage device adapted for automatic qualitative and quantitative risk assessment based on technical wellbore design and earth properties | |
CN103268289B (en) | Record the method and system of application testing script on mobile terminals | |
TW200502802A (en) | Method, device and system for intelligent right data search management as well as the storage medium storing and executing computer program of this method | |
JP2010218306A5 (en) | ||
HK1037749A1 (en) | Automatic job resource usage and retrieval. | |
ATE437542T1 (en) | APPARATUS, SYSTEM AND METHOD FOR TESTING A DEVICE WITH LIMITED RESOURCES | |
WO2015117540A1 (en) | Method and system for multi-state attendance which can indicate staff whereabouts | |
EP2869195A1 (en) | Application coordination system, application coordination method, and application coordination program | |
CN104090751A (en) | Method for acquiring root authority in Android system | |
CN106557419B (en) | Program testing method and device | |
CN106911554B (en) | Historical information display method and device | |
CN105224450A (en) | Concurrent testing method and device | |
CN106649102A (en) | Graphical interface program testing log record and replay method based on hook function | |
CN105426306A (en) | Method for testing internal memory in system test | |
CN106383734A (en) | Method for extracting detailed design from codes | |
CN113076358A (en) | Report generation method, device, equipment and storage medium | |
CN117055859A (en) | Low-code development system based on data flow analysis | |
CN107622013B (en) | Distributed system testing method and device | |
CN104104659A (en) | Communication fingerprint extraction method and device | |
CN103488559B (en) | System evaluation result presentation method, device and electronic equipment | |
CN105260174A (en) | Recording tracking method for object memory status based on equivalence class in real-time Java virtual machine | |
CN112559377A (en) | Method and device for generating first test case | |
CN107239373B (en) | Simulation method and system of embedded relay protection equipment | |
CN104777808A (en) | Recording method for operating condition debugging of power station as well as record reading methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160323 |
|
RJ01 | Rejection of invention patent application after publication |