Testing
Getting Started with Pytest
· β˜• 2 min read
The Pytest framework is simple to use, rich in plugins, and powerful, and it is widely used for Python automated testing. This article introduces some basic concepts and usage of Pytest. 1. How It Runs Step one, Pytest reads its configuration from the command line or a file. Step two,

Enabling Kubernetes Monitoring and Stress Testing
· β˜• 6 min read
1. Kubectl Basic Commands 1.1 Creating Objects 1 2 3 4 5 6 7 8 # Create resources; a remote URL also works kubectl create -f ./my.yaml # Create resources from multiple files kubectl create -f ./my1.yaml -f ./my2.yaml # Create resources using all manifest files in a directory kubectl create -f .

How to Package a Robot Framework Docker Image
· β˜• 2 min read
To make it easier for CI to integrate UI automation tests, the Robot Framework runtime needs to be packaged as a Docker image. This post covers the configuration and scripts involved in the packaging process. 1. Packaging Directory Structure 1 2 3 4 5 6 tree . β”œβ”€β”€

Robot Framework Advanced (2)
· β˜• 2 min read
Settings Table The settings table in Robot Framework mainly serves two purposes. For a detailed explanation, see here. Import test, resource, and variable files. Define metadata. In the Setting table: 1 2 3 4 5 Library εΌ•ε…₯εΊ“ Resource εΌ•ε…₯衄源文仢 Variables εΌ•ε…₯变

Robot Framework Common Libraries
· β˜• 4 min read
1. Standard Libraries The libraries that Robot Framework can import and use directly, found in the directory python\Lib\site-packages\robot\libraries. For details, see the documentation. Builtin, contains the keywords that are needed most often. It is imported automatically without an import, so it is always available. Dialogs, provides ways to pause test execution and to take input from the user.