Application program testing method, device and system

A technology of application programs and testing methods, applied in software testing/debugging, error detection/correction, instrumentation, etc., to solve problems such as breaching the security of the platform file system

Inactive Publication Date: 2017-03-15
TENCENT TECH (SHENZHEN) CO LTD
View PDF10 Cites 44 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, this application provides a testing method, device and system for an application program, which is used to solve the security problem of destroying the platform file system brought about by existing developers writing test entry scripts to the cloud testing platform

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Application program testing method, device and system
  • Application program testing method, device and system
  • Application program testing method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.

[0028] figure 1 This is a structural block diagram of the application testing system provided in this embodiment of the application. The application testing method provided in the embodiment of the application can be based on figure 1 System shown, refer to figure 1 , The system may include: several test terminals 10, an application test server (or called an application test platform) 20;

[0029] The test terminal 10 is a smart device used by a tester, such a...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an application program testing method, device and system. The method comprises the steps of obtaining a container engine Docker mirror image, and executing an operation instruction of a target testing script when a container is started, wherein the Docker mirror image includes testing environment of a container started during operation; executing a target testing script under the testing environment of the container due to the fact that the container is started by operating the Docker mirror image, and achieving testing an application program to be tested in a testing terminal connected with a host machine; obtaining journal files produced when the container executes the target testing script. According to the application program testing method, device and system, the Docker container engine is used for constructing the closed container for the testing script compiled by a developer, by means of the characteristic that the Docker operation environment is completely isolated from the external world, the testing script is executed in the container, testing of the application program to be tested in the testing terminal is achieved, and it is ensured that the testing script cannot damage a file system of the host machine.

Description

Technical field [0001] This application relates to the technical field of program testing, and more specifically, to a method, device, and system for testing application programs. Background technique [0002] With the prosperity of the smart terminal market, the fragmentation of smart terminals is very serious. The size, system, and hardware configuration of smart terminals are uneven, which in turn leads to different degrees of functional defects in applications on different smart terminals. For this reason, the prior art needs to test the running status of the application on multiple smart terminals. [0003] Based on this, various cloud testing platforms have emerged to provide application testing services for application developers. Cloud testing platforms generally support multiple testing frameworks. Take Android testing frameworks as an example, including Robotium, Appium, UIAutomator, etc. Developers can choose any framework and write test scripts for the application to ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688
Inventor 黄琰荆彦青方亮孙大伟阚传奇
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products