Construction of web automated testing framework (python+selenium+pytest+pom+ddt)

This document uses the popular pom design pattern to set up the test framework, write test cases, generate test reports, and finally integrate jenkins. 1, selenium selenium is an open source automatic testing tool for web ui, which will not be introduced in detail. 2, Environment construction The environment construction is very simple. P ...

Added by Random on Fri, 18 Feb 2022 05:46:01 +0200

Pytest learning ---- pytest operation mode and pre post packaging of interface automation test

1, Pytest benefits awareness: 1. It can combine all automatic test tools 2. Skip the failed case and rerun the failed case 3. Combined with allure production report 4. Continuous integration with Jenkins 5. Many powerful plug-ins pytest-html: production html Test report pytest-xdist: Multithreading pytest-ordering: Change the execution seq ...

Added by lakilevi on Sat, 12 Feb 2022 01:08:32 +0200

Pytest learning notes - configuration file pytest ini

Configuration file pytest ini preface quite a lot pytest settings You can set it in the configuration file, which is usually located in the root directory of the repository or in the test folder pytest.ini files take precedence over other files, even if they are empty The pytest configuration file can change the operation mode of pytest. It ...

Added by gtibok on Wed, 09 Feb 2022 17:08:17 +0200

It took 2 weeks to sort it out: "pytest test test framework" nanny tutorial (test beginners must see!)

Hello, I'm erhei. Here's a free copy of software test data 1. Software testing learning route2. Software test video data3. Software test related documents4. Software testing related tools and installation packages5. Resume template of Senior Test Engineer6. Interview questions, mock interview, PDF documents Small partners need to be concerned ...

Added by greip on Thu, 20 Jan 2022 19:57:35 +0200

First day of pytest study

Common operations of pytest This article is used to record the process of learning pytest. I hope you can point out any mistakes in combination with learning in station B. If there is any infringement, please send a private letter! General naming rules 1. Module name (py file) in test_ Begin or begin with_ End of test; For example: test_ ...

Added by olanjouw on Sun, 16 Jan 2022 07:45:47 +0200

How to build an interface automation test framework?

Previous articles Overview and process sorting of interface automation test In, we introduce the process of interface automation test. In our work, when a project determines to conduct interface automation test, we generally face two situations: 1. The company has been doing automated testing and has become one of them In this case, what we ...

Added by Hepp on Sun, 16 Jan 2022 02:00:14 +0200

Python test framework pytest (26) test report Allure - feature

1,Environment Environment is an environment variable. The report has no variable parameters by default and needs to be configured by itself.   1.1. Add Environment   Create the environment.properties or environment.xml file and store the file in the folder of test results (the directory specified after the - allouredir option when executi ...

Added by SpectralDesign.Net on Wed, 03 Nov 2021 06:43:29 +0200

[pytest] pytest of Hook method_ Addoption: register command line parameters

Pytest of Hook method_ addoption : pytest_addoption allows users to register a user-defined command line parameter to facilitate users to pass data to pytest; This Hook method is generally used with the built-in fixture pytestconfig, pytest_addoption registers the command line parameter, and pytestconfig reads the parameter value through t ...

Added by cleibesouza on Thu, 23 Sep 2021 11:05:22 +0300