From 0 to 1, proficient in automated testing, pytest automated testing framework, configuration file pytest ini
1, Foreword
The pytest configuration file can change the operation mode of pytest. It is a fixed file pytest INI file, read the configuration information and run it in the specified way
2, ini configuration file
Some files in pytest are non test files
pytest. Ini is the main configuration file of pytest, which can change the default be ...
Posted by orison316 on Mon, 07 Mar 2022 12:50:33 +0100
Python quick start series -- string -- detailed explanation
Python 0-1, lecture 2. In the last chapter, we learned variables and how to define a variable. From now on, we can use it directly. In this chapter, let's learn string. Let's have a look.
character string
What is a string? Is it important?
name = 'Hello World'
print(name)
'Hello World' here is what we call a string. Name is its variable. ...
Posted by sarakmo on Mon, 07 Mar 2022 07:40:10 +0100
Find Liangji App buried point Case automatic regression
Find a beautiful machine and bury it. Case Automatic Regression
1, Background and purpose
The total number of buried points on the line is more than 1000, and the main process case is more than 300. In the process of functional iteration, there are often statements about the regression of existing buried points. In the past, it used to consum ...
Posted by Skara on Sat, 05 Mar 2022 12:37:35 +0100
[introduction] interface automation test
1. What is interface testing
As the name suggests, interface test is to test the interface between systems or components, mainly to verify the exchange, transmission and control of data, management process, and mutual logical dependency. The interface protocols are divided into HTTP,WebService,Dubbo,Thrift,Socket and other types. The test type ...
Posted by spicerje on Fri, 04 Mar 2022 00:07:24 +0100
Unittest unit test framework UI automation
Today, we will explain how to use unittest framework to realize UI automation in python. We won't repeat how to use webdriver API to operate web pages today. For missed partners, please stamp the link below~~
1.unittest unit test framework
Why use a unit test framework? The use of unit test framework can standardize the preparation of te ...
Posted by exa_bit on Wed, 02 Mar 2022 12:16:13 +0100
CMake actual installation test and add environment to generate installation package
1. Installation test
CMake can also specify installation rules and add tests. These two functions can be executed by using make install and make test after generating makefile. In GNU Makefile, you may need to write install and test pseudo targets and corresponding rules for this, but in CMake, such work also needs to simply call a few command ...
Posted by dev99 on Mon, 28 Feb 2022 14:05:01 +0100
You're right. selenium automation integrates REST api practice
problem
When we describe a "good automated test case", the common criteria are:
accurate Automated test cases should test one thing, only one thing. An error in a part of an application that is not related to a test case should not cause the test case to fail independent Automated test cases should not be affected by any other tes ...
Posted by greenba on Thu, 24 Feb 2022 08:22:29 +0100
An article to understand unittest unit testing framework
For Python 2.1 and later versions, unittest is put into the python development package as a standard module.
01 use unittest to write test cases [at the end of the paper, a learning resource for automated testing is prepared for free sharing]
Rules:
import unittestTo create a test class, you must inherit unittest Testcase classCreate a test ...
Posted by datoshway on Thu, 24 Feb 2022 08:20:05 +0100
web automation notes 13: parameterization, skipping use cases and generating HTML test reports
catalogue
Parameterization
Skip use case
Generate HTML test report (Master)
Parameterization
1. Why parameterization Solve the problem of redundant code
2. What is parameterization Description: dynamically obtain parameters according to requirements
3. Parametric application scenario Scenario: solve the problem of the same busines ...
Posted by posidon on Tue, 22 Feb 2022 07:00:26 +0100
Java excellent testing framework - TestNG
Why do we need TestNG?
Java has several test frameworks. JUnit is a common one. The default test framework of Spring series is JUnit. TestNG is also a test framework of Java. It has similar functions to JUnit, but supports more annotations and functions.
we often use JUnit for unit testing, but we prefer TestNG for automated ...
Posted by abdbuet on Mon, 21 Feb 2022 13:14:51 +0100