Automatic testing method and system and electronic equipment
A technology for automated testing and test results, applied in software testing/debugging, error detection/correction, electrical digital data processing, etc. Applicability and the effect of improving processing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] In order to realize the automated testing method disclosed in this application, the embodiment of this application provides a K8S (Kubernetes) container platform, such as figure 1 , the process of applying the container platform disclosed in this embodiment to obtain the automated test report includes:
[0057] S100. Make the automated test code and / or script into a container image, and upload it to the K8S container platform.
[0058] Kubernetes is an open source container-based cluster management platform. The goal of Kubernetes is to implement the deployment of containerized applications, providing a mechanism for application deployment, planning, updating, and maintenance, referred to as K8S. A K8S system, usually called a K8S cluster (Cluster), mainly includes two parts: several Master nodes (master nodes), and a group of Node nodes (computing nodes). K8S cluster is a containerized management system, which is a collection of cloud resources required for container op...
Embodiment 2
[0076] Corresponding to the above-mentioned embodiments, the present application provides an automated testing method, such as figure 2 As shown, the method includes:
[0077] 2100. Generate a container image according to the configuration file and upload it to the container platform;
[0078] Preferably, the configuration file includes automated test task scripts and / or automated test task codes.
[0079] 2200. The container platform generates a container application according to the container image and deploys a test environment in the container application;
[0080] 2300. Configure a survival probe for the container application, and modify the test environment;
[0081] Preferably, the container application includes at least one Pod, and the configuration of the survival probe for the container application and the correction of the test environment include:
[0082] 2310. Detect the running state of the Pod according to the survival probe;
[0083] 2320. If the detecte...
Embodiment 3
[0098] Such as image 3 As shown, corresponding to the first and second embodiments above, this embodiment of the present application provides an automated testing system 300, including:
[0099] Preparation module 310: generate a container image according to the configuration file and upload it to the container platform;
[0100] Deployment module 320: the container platform generates a container application according to the container image and deploys a test environment in the container application;
[0101] Processing module 330: configure a survival probe for the container application, and modify the test environment;
[0102] The processing module 330 is further configured to automatically distribute resources for the container application according to a preset elastic scaling policy;
[0103] Running module 340: running the test case in the container application to generate test results to determine an automated test report.
[0104] In some embodiments, the system fu...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com