最新消息:请大家多多支持

Python Testing With Pytest For Beginners + Selenium

教程/Tutorials dsgsd 112浏览 0评论

Published 2/2023
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz
Language: English | Size: 2.07 GB | Duration: 3h 18m

For newbies | Python for Automation | Pytest Implementation

What you’ll learn
Learn why we test code & use testing frameworks
How to use basics features of pytest testing framework
How these features help in easier testing or reducing time and amount of code content
Control Browser using Python Code to test real webpages

Requirements
You need to have taken an introductory course in Python
You need to have root or admin access to your computer
I develop in Linux so you’d have to be okay with that. I show you how to run Linux in Windows

Description
This, is a Pytest Course for absolute Beginners. You must have completed an introductory level couse in python to understand this material.I First cover why testing is needed, and why testing frameworks are important to achieve this. I help you understand best practises in folder management and configuration and then I teach the basics of pytest covered in the pytest docs website.We will learn everything about Pytest that will help us build a test automation framework easily. We will cover all important aspects of pytest and also how automation is done in real test environment.Some of topics are highlighted below, we will go thru all of this and more:Setting Up Virtual Environments using venvFolder CreationFolder ConfigurationWriting Tests Using AssertHow Pytest Finds TestsHow To Configure Naming TestsReduce code and Avoid Global Variables using Fixtures Splitting Fixutures From TestsParametrized TestingMarkers For Selective TestingInbuilt Markers: Skip, xfailconftest.inipytest.iniHow to use Selenium Webdriver to control the browserAfter i cover the basics, we apply what we learn by testing a real webpage by controlling the browser using Selenium Webdriver inside our python code. We do this test against multiple webpages and multiple Browsers.Anyone can follow along from top, by understanding each of the lessons and replicating it on their system. I cover the whole course making sure the language is easy to understand. Thank you and see you in this course!!!

Overview
Section 1: Introduction & Setup

Lecture 1 Why Testing?

Lecture 2 Why Pytest?

Lecture 3 How To Use Udemy Tools & remind

Section 2: Lab Setup

Lecture 4 Download Files

Lecture 5 Run Linux In Windows

Lecture 6 Optional: Faster Updates & Upgrades

Lecture 7 Install Gnome Desktop Manager

Section 3: My Way Of Doing Work (optional)

Lecture 8 Awesome Shortcuts

Lecture 9 Better Key Positions

Section 4: Essential Linux Tools

Lecture 10 Install Pip & VS Code

Section 5: Folder & File Management

Lecture 11 Folder Setup for Testing Internal / External App

Section 6: Environment Management

Lecture 12 How to Setup VENV

Lecture 13 How to Use VENV

Lecture 14 How to Clone Virtual Environment

Lecture 15 Install Pytest

Section 7: Write your First Test

Lecture 16 Create Code

Lecture 17 Write Test using Assert

Lecture 18 How to Run a Test

Lecture 19 How Pytest Finds Tests To Run

Lecture 20 Change How Pytest Identifies Files To Run

Section 8: Fixtures For Reducing Code & Avoid Global Variables

Lecture 21 Reduce Code / Avoid Global Variables Using Fixtures

Section 9: Mini Project For Recap

Lecture 22 Intro

Lecture 23 Configure Browser To Be Controlled By Python

Lecture 24 Folder Structure

Lecture 25 Apply Browser As Fixture

Lecture 26 Test Webpage 1

Lecture 27 Test Webpage 2

Section 10: Easy Teardown Code

Lecture 28 Execute Teardown Code After Exiting Scope Of Test

Lecture 29 Quick Mention Of Examples

Lecture 30 Note About Next Video

Lecture 31 Running Code We Built So Far

Section 11: Parameterise Fixtures For Multiple Inputs

Lecture 32 Test Against Multiple Inputs

Lecture 33 Parameterization in Fixtures

Lecture 34 Configure Firefox To Be Controlled By Python

Lecture 35 Separate Fixtures From Test Files

Section 12: Mark Your Tests

Lecture 36 Introduce Problem & Code

Lecture 37 Using “Markers” To Identify Tests

Lecture 38 List All Markers In Pytest.ini

Lecture 39 Reduce Markers Using Test Classes

Lecture 40 Skip Marker

Lecture 41 Conditional Skip Marker

Lecture 42 Xfail Marker

Beginner Python Developers curious about Pytest,Anyone who wants to build or improve an automated testing framework,QA Engineers who wants to learn about pytest


Password/解压密码www.tbtos.com

资源下载此资源仅限VIP下载,请先

转载请注明:0daytown » Python Testing With Pytest For Beginners + Selenium

您必须 登录 才能发表评论!