1. Introduction to the test platform
Why do you need a test platform
Existing open source test platforms cannot meet the needs, so don’t easily create wheels.
Company-level customization is required.
Multiple sets of platforms within the company need to be integrated.
Examples: DevOps platform, precision test platform, quality monitoring platform, etc.
Common testbench development patterns
Unified mode (suitable for simple projects)
Rendering interface based on template technology, representative works: Rails, Django
easy to get started, easy to use
Separation of front and back ends (suitable for complex projects)
Use standard json for front-end and back-end communication.
Usually, the front-end uses the SPA framework.
The back-end framework can be a small API framework Flask, SparkJava
, or a large-scale web development framework: Django, SpringBoot
Common technical architecture and components
Front-end technical architecture: bootstrap, antd, vue, react
Back-end technical architecture: django, flask, spring boot
Data storage: mysql, es, neo4j
Task scheduling architecture: jenkins
Data reports: echarts, vega, kibana, grafana
Key technologies for backend service development
Routing: get, post, path, permission control
Request and response processing: get request, form request, json request, cookie management
Session: cookie-based session mechanism
Template technology: jinja2, mustache, it is recommended to use an independent front-end technical framework to build SPA
Backend Development Framework
Mini frame:
python:Flask
java:sparkjava
Large and comprehensive framework:
python django
java: spring family bucket
2. The overall framework of the test platform
analyze:
The test platform mainly has two functions, one is that users upload test cases on the platform, and the platform completes the storage of test cases. The second is that users schedule and execute test cases on the platform.
There are generally two ways for the test platform to store test cases: one is to store them on git, and the other is to store the test cases in the database. We use the second method here
There are also two common ways for the test platform to execute test cases: one is the ability of the test platform to develop and execute use cases, and the second is to call Jenkins and other platforms through the test platform to complete the execution of test cases. The test platform itself does not have the ability to execute use cases. We use the second method here
Finally: In order to give back to the die-hard fans, I have compiled a complete software testing video learning tutorial for you. If you need it, you can get it for free【保证100%免费】
Software Testing Interview Documentation
We must study to find a high-paying job. The following interview questions are the latest interview materials from first-tier Internet companies such as Ali, Tencent, and Byte, and some Byte bosses have given authoritative answers. Finish this set The interview materials believe that everyone can find a satisfactory job.