Python+requests+pytest+excel+allure interface automated testing practice

definition: Unittest is the unit testing framework that comes with the Python standard library. Unittest is sometimes also called PyUnit. Just like JUnit is the standard unit testing framework for the Java language, Unittest is the standard unit testing framework for the Python language. Pytest is another third-party unit testing library for Python. It is […]

Python+requests+unittest execution interface automation test details

This article mainly introduces the details of automated testing of the Python + requests + unittest execution interface. The article provides a detailed introduction around the topic, which has certain reference value. Friends in need can refer to it. 1. Install requests, xlrd, json, unittest libraries Pip command installation: pip install requests pip install xlrd […]

Secure voting system based on blockchain and threshold password (Python+Django+Node+web3+SQLite3)

Table of contents Summary I Abstract I Chapter 1 Introduction 1 1.1 Research background and significance of the topic 1 1.2 Research status at home and abroad 3 1.3 Contents of this article 8 1.4 Structural arrangement 10 Chapter 2 Related Knowledge and Technology 11 2.1 Blockchain related knowledge 11 2.1.1 Blockchain 11 2.1.2 Ethereum […]

Python+Selenium automatically uploads watermelon videos on Mac

Background Let’s study the Python + Selenium automated testing framework, and simply implement automated batch uploading and publishing of videos on Mac, and share them with students who need them (without doing too much exception handling). Script implementation First log in with your manual mobile phone number and save the cookie file of the Xigua […]

python+requests+pytest+allure automation framework

1. Core library requests request request openpyxl excel file operation loggin log smtplib sends email configparser unittest.mock mock service 2. Directory structure base utils testDatas conf testCases testReport logs other 2.1base base_path.py stores the absolute path to prevent errors when executing dos commands or Jenkins. base_requests.py encapsulates requests, selects different methods to execute scripts according […]

Python+Requests+PyTest+Excel+Allure interface automated testing practice

Table of Contents This article mainly introduces the actual practice of Python + Requess + PyTest + Excel + Allure interface automated testing. The article introduces it in great detail through sample code. It has certain reference learning value for everyone’s study or work. Friends who need it will follow the editor below. Let’s study […]