A kind of mobile terminal software test method and system
Technical field
The present invention relates to a kind of mobile terminal software test method and systems, belong to software test field.
Background technique
With the continuous development of social demand, the various application software on mobile terminal are increasingly sophisticated.Various mobile terminals
Multifarious on software and hardware is even more to bring new test for the development of application software.The software of mobile terminal is formal
The large-scale real machine software test of experience is usually required before publication, the method for software test can be divided into based on tester
The manual testing that leads and be leading software test with computer automated testing.Wherein the advantage of manual testing is tester
Member can simulate the problem of user is likely encountered in practical operation and demand from the angle of user on the spot, find in hiding
The problem of.Although a disadvantage is that tester is easy to find the problem, but lack data supporting, it is difficult to the original that problem analysis occurs
Cause is unfavorable for solving the problems, such as.And the case where software test, is then exactly the opposite.
It is put down in addition, previous software testing system lacks unified publication when distributing test assignment and reporting test report
Platform, operating process is complicated, inefficiency, and related personnel's preciousness will often be spent by getting test assignment and reporting test result
Time and efforts limits the range and enthusiasm of tester.
Summary of the invention
In view of the above-mentioned problems existing in the prior art, technical solution of the present invention is proposed.
Based on one aspect of the present invention, a kind of mobile terminal software test method is provided, comprising the following steps:
Step S10 obtains software under testing information from server-side and is supplied to user;
Step S20, operates according to the user's choice, downloads corresponding software under testing from server-side and installs;
Step S30 is monitored and is recorded the performance data during the software under testing operation;
Step S40 after judging test, prompts user's input test feedback, test feedback and performance data is sent
To server-side.
Preferably, step S10 further includes sub-step:
Step S101 obtains the configuration information of test lead;
Step S102 is filtered out and is matched with the configuration information of the test lead from the software under testing that server-side provides
Software under testing;
Software under testing information after screening is shown to user by step S103;Wherein, the server-side is to be measured for providing
Software matrix and the corresponding configuration requirement information of software under testing.
Duration, CPU usage during preferably, performance data described in step S30 includes: software under testing operation,
Memory usage and amount of battery consumption.
Preferably, performance data described in step S30 further include:
When the software under testing exits extremely, the exception information and error log of test lead release.
Preferably, test feedback described in step 40 includes: text, picture, dynamic picture, video, at least one in voice
Kind.
Based on another aspect of the present invention, a kind of mobile terminal software test macro is provided, comprising:
Test lead obtains the software under testing information that server-side provides, monitors and record described to be measured for connecting server-side
Performance data during software operation, and user's input test feedback and performance data are sent to server-side;
Server-side for providing software under testing information and software under testing, and receives the test feedback and performance of user feedback
Data.Preferably, the test lead includes: test lead data communication module, for from server-side obtain software under testing information and
Software under testing, and the test feedback and performance data that transmit the software under testing are to server-side;Input/output module, for
Family prompt information, and obtain the test feedback of user's input;Performance data collection module, it is described to be measured soft for monitoring and recording
Performance data during part operation.
Preferably, the server-side includes: server-side data communication module, is used for connecting test end, provides for test lead
Software under testing information and software under testing receive test feedback and performance data that test lead is sent back to.
Preferably, duration, CPU usage, EMS memory occupation during the performance data includes the software under testing operation
When rate, amount of battery consumption and software under testing exit extremely, the exception information and error log of test lead release.
Preferably, the test lead further includes configuration detection module, for acquiring the configuration information of the test lead terminal.
Based on another aspect of the present invention, a kind of mobile terminal software test macro is provided, comprising:
List block is obtained, obtain software under testing information from server-side and is supplied to user;
Download module operates according to the user's choice, downloads corresponding software under testing from server-side and installs;
Monitoring module monitors and records the performance data during the software under testing operation;
Data feedback module after judging test, prompts user's input test feedback, by test feedback and performance data
It is sent to issuing service end.
Beneficial effects of the present invention: the present invention is detected by the process to manual testing, in the practical behaviour of analog subscriber
It while work, provides measured data and makes reference, improve the efficiency of test.By way of setting server-side and test lead,
It is online to obtain software under testing and submit test report, to reduce the complexity that test assignment is got in publication, save the time
And human cost;By obtaining the platform information of test lead automatically, and the mode of matched software under testing is screened, simplifies operation stream
Journey improves the working efficiency of tester.
Detailed description of the invention
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments
The present invention is described in detail.
Fig. 1 show a kind of flow chart of mobile terminal software test method according to a first embodiment of the present invention;
Fig. 2 show a kind of detail flowchart of mobile terminal software test method according to a first embodiment of the present invention;
Fig. 2 show a kind of the general frame of mobile terminal software test macro according to a second embodiment of the present invention.
Specific embodiment
With reference to Fig. 1 and Fig. 2, a kind of mobile terminal software test method of first embodiment of the invention, comprising the following steps:
Software under testing information is obtained from server-side and is shown: specifically, test lead obtains institute by configuring acquisition module
In the configuration information of test terminal.Illustratively, configuration information includes OS Type and the version number, test lead of test lead
CPU and model, the resolution ratio of screen of GPU etc.;Then the letter of software under testing is obtained from server-side by data communication module
It ceases (such as the software under testing is to operating system and hardware requirement, test request etc.), the configuration information with collected test lead
Compare, if the requirement for the software under testing that the configuration of test lead is provided with server-side matches, to user show this to
Survey the information of software.Wherein, test lead obtains the software under testing information that server-side provides, monitors and remember for connecting server-side
The performance data during the software under testing operation is recorded, and user's input test feedback and performance data are sent to server-side;
Server-side is for providing software under testing list and the corresponding configuration requirement information of software under testing.
It operates, download corresponding software under testing and installs according to the user's choice: specifically, user shows from previous step
Software under testing information in select test software under testing.According to the user's choice, test lead connects server-side, from server-side
Corresponding software under testing is downloaded, and is mounted in test lead terminal.Wherein, server-side also provides for software under testing downloading, and
Receive the test feedback and performance data of user feedback.
Performance data during monitoring and recording software under testing operation: specifically, test lead detect it is described to
After surveying software starting, passage capacity data acquisition module call operation system corresponding function interface monitors and records software under testing
The performance data of operation phase, illustratively, performance data include software under testing operation during duration, CPU usage,
When memory usage, amount of battery consumption and software under testing exit extremely, the exception information and mistake of the system release of test lead
Log.
After judgement test, user's input test feedback is prompted, service is sent to according to test feedback and performance data
End: specifically, test lead judges to test by detecting the mode that the software under testing is out of service or user is manually entered
Whether terminate.When judgement test is also not finished, continue to monitor and record the performance data during the software under testing is run;When
When judgement test is over, user is prompted to submit test feedback.User is tested using the input/output module typing of test lead
Feedback, wherein test feedback be mainly used for report usage experience and the bug of software under testing etc., it is described test fed back through text,
One of picture, dynamic picture, small video, voice or the form of a variety of combinations report to server-side.When user fills in test
After feedback, test lead is packaged into test report, test report includes that the test of user is anti-according to test feedback and performance data
Performance data during feedback, software under testing test, the configuration information of test terminal where test lead and described to be measured soft
The information of part.Test report is sent to server-side by the test lead data communication module of itself by test lead.
The server-side is by test report of the server-side from test lead, the software under testing for including according to test report
Information is issued the content of test report in the corresponding test report area of the software under testing, to be supplied to corresponding exploitation
Personnel consult.
With reference to Fig. 3, a kind of mobile terminal software test macro of second embodiment of the invention includes server-side, test
End and server-side, server-side can be connect with multiple test leads.Server-side is for providing software under testing list and software under testing pair
The configuration requirement information answered, also provides for software under testing, and receives the test feedback and performance data of user feedback;Test lead
For connecting server-side, the software under testing information that server-side provides is obtained, during monitoring and recording the application program operation
Performance data, and user's input test result and performance data are sent to server-side.Illustratively, test lead, which can be, is equipped with
The smart phone of software with test function.
The test lead includes test lead data communication module, input/output module, performance data collection module and matches
Detection module is set, wherein test lead data communication module is used to obtain software under testing information and downloading software under testing from server-side,
And the test feedback and performance data of software under testing described in loopback are to the server-side.Performance data collection module for it is described to
Survey the performance data during software operation.Above-mentioned performance data includes duration, the CPU occupancy during the software under testing is run
When rate, memory usage, amount of battery consumption and software under testing exit extremely, the exception information of test lead release and wrong day
Will.By taking the test lead of Android system as an example, Android system provides the system class of the corresponding above-mentioned performance data of record, can pass through
The mode for the application interface that calling system provides obtains the performance data.Input/output module is used to prompt the user with information,
And obtain the test feedback of user's input.Output can show that the mode of voice prompting or display picture is realized by text;It is defeated
Enter can by providing text box input, choose option or label and uploading pictures, recording, video record mode realize.
Configuration detection module is used to acquire the configuration information for the test terminal for running the test lead, and illustratively, configuration information includes
The OS Type of test lead and version number, the model of the CPU of test lead and GPU, the resolution ratio of screen etc..
The server-side includes server-side data communication module, is used for connecting test end, provides software under testing for test lead
Information and software under testing, and receive the test feedback and performance data of user feedback.
Specific embodiment is essentially identical with first embodiment of the invention, therefore is omitted.
The above, only presently preferred embodiments of the present invention, the invention is not limited to above embodiment, as long as
It reaches technical effect of the invention with identical means, all should belong to protection scope of the present invention.In protection model of the invention
Its technical solution and/or embodiment can have a variety of different modifications and variations in enclosing.