All in One Offer! | Access Unlimited Courses in any category starting at just $29. Signup today. Offer Ends in: 6 Days!

Browse Library

Get Unlimited Learning Access
$29
6 days left at this price!
30-Day Money-Back Guarantee

It Includes

  • Get Full Access to the platform
  • Access upto 16000+ online courses
  • Play & Pause Course Viewing
  • HD Recorded Lectures
  • Access on Mobile/PC/Tablet
  • Includes Real Projects
  • Online iLab Access
  • Certificate of Completion
  • Download for offline viewing
  • Cancel Anytime
$29
  • How to create and execute automation test suite in pytest
  • How to pick some/all/fixed number of tests to execute
  • Learn about fixtures and how to use them in your tests
  • Learn about markers, different types of makers
  • How to run tests in parallel to reduce overall execution time
  • How to generate pytest result report(HTML, jUnit-XML)

Welcome to the "Learn PyTest from scratch"  course, a PyTest test framework that is a hot favorite choice of a Python developer.

This course is created in a way that even a newbie can follow. Whether you have never learned the PyTest framework or you know the basics but don`t know about the advanced topics, this course is for you. In this course, I will teach you the PyTest framework in the easiest way possible.

Testing is a crucial thing, the framework provides an easy way to adapt and use it to implement tests, PyTest is the most widely used, and as it is based on python programming language, which doesn`t need any introduction. Learning PyTest becomes very easy as of simple syntax of python.

This course will teach you PyTest in a practical way, with every lecture coming with a full code walkthrough and a screencast presentation of a topic. Each section has an exercise to test your knowledge of what you will be gaining from the particular section.

I will start by helping you get installed needed things on your system, which includes Python, PyTest, pip and, PyCharm IDE.

 

I have covered a wide variety of topics, including:

  • Installing Python, PyTest, pip, PyCharm

  • Running a test in PyTest

  • Assert in PyTest

  • Understanding of the result of the test

  • Discovery of a test

  • PyTest way of identifying test files and test functions

  • Fixtures

  • Markers

  • Config files

  • Pytest.ini file

  • Command-line option

  • Running tests in parallel

  • How to limit max test failures

and much more!

 

You will get lifetime access to all the lectures.

So what are you waiting for? Learn PyTest with me in the easiest and most practical way and boost your career.

  • You should have a basic understanding of the Python Programming Language.
  • A system with an internet connection to install required stuff
  • Desire to learn
  • Anyone who wants to learn about running automation and test
  • Developer who wants to learn PyTest for creating and running Python Tests
  • Beginner and intermediate python developer who wants to add pytest in his/her skillset
  • Software test Engineers
  • QA Engineers
View More...
  • Section 1 : Let`s learn the basics first 1 Lectures

    • Lecture 1 :
    • What is testing, automation, framework Preview
  • Section 2 : PyTest Environment Setup on your System 6 Lectures 00:14:00

    • Lecture 1 :
    • Introduction to PyTest
    • Lecture 2 :
    • Links to install required stuff
    • Lecture 3 :
    • Python Installation
    • Lecture 4 :
    • PIP Installation
    • Lecture 5 :
    • PyTest Installation
    • Lecture 6 :
    • PyCharm Installation
  • Section 3 : Create and Run your first test 4 Lectures 00:24:48

    • Lecture 1 :
    • Let`s write your first test
    • Lecture 2 :
    • Code Walkthrough of writing and running your first test
    • Lecture 3 :
    • Exercise - 01
    • Lecture 4 :
    • Code Walkthrough of Exercise - 01
  • Section 4 : How does Pytest identifies test files and test functions 3 Lectures 00:14:05

    • Lecture 1 :
    • Discovery of a test in PyTest
    • Lecture 2 :
    • Exercise - 02
    • Lecture 3 :
    • Code Walkthrough of Exercise - 02
  • Section 5 : Selecting Tests to execute 8 Lectures 00:32:48

    • Lecture 1 :
    • Run all the tests from files and folders/subfolders
    • Lecture 2 :
    • Run tests from a specific file only
    • Lecture 3 :
    • Run selective tests by matching substring
    • Lecture 4 :
    • Extra on running selective tests by matching substring
    • Lecture 5 :
    • Run selective tests by applied marker
    • Lecture 6 :
    • Substring Vs Marker: Which one should we use ?
    • Lecture 7 :
    • Exercise - 03
    • Lecture 8 :
    • Code Walkthrough of Exercise - 03
  • Section 6 : Fixtures 5 Lectures 00:30:10

    • Lecture 1 :
    • Code walkthrough of a fixture
    • Lecture 2 :
    • How to access fixture across all files ? conftest.py
    • Lecture 3 :
    • Excercise - 04
    • Lecture 4 :
    • Code Walkthrough of Exercise - 04 (Scope parameter of a fixture)
    • Lecture 5 :
    • Fixtures
  • Section 7 : Parameterize, skip and Xfail Test 5 Lectures 00:32:25

    • Lecture 1 :
    • Parameterized Test
    • Lecture 2 :
    • Skip Test
    • Lecture 3 :
    • Xfail Test
    • Lecture 4 :
    • Exercise - 05
    • Lecture 5 :
    • Code Walkthrough of Exercise - 05
  • Section 8 : Running tests in parallel 4 Lectures 00:16:15

    • Lecture 1 :
    • How to run tests in parallel using xdist pytest-plugin
    • Lecture 2 :
    • Code Walkthrough of xdist example
    • Lecture 3 :
    • Excercise - 06
    • Lecture 4 :
    • Code Walkthrough of Exercise - 06
  • Section 9 : How to limit maximum test failures 3 Lectures 00:12:43

    • Lecture 1 :
    • maxfail in pytest
    • Lecture 2 :
    • Exercise - 07
    • Lecture 3 :
    • Code Walkthrough of Exercise - 07
  • Section 10 : pytest.ini configuration file 2 Lectures 00:11:33

    • Lecture 1 :
    • How to inform pytest to pick other files to execute by pytest.ini
    • Lecture 2 :
    • Code walkthrough of pytest.ini file
  • Section 11 : Pytest result 2 Lectures 00:13:47

    • Lecture 1 :
    • How to save pytest-result in XML file
    • Lecture 2 :
    • How to save pytest-result in HTML file
  • Section 12 : Bonus Thank you 2 Lectures

    • Lecture 1 :
    • Bonus lecture
    • Lecture 2 :
    • Extra
  • How do i access the course after purchase?

    It's simple. When you sign up, you'll immediately have unlimited viewing of thousands of expert courses, paths to guide your learning, tools to measure your skills and hands-on resources like exercise files. There’s no limit on what you can learn and you can cancel at any time.
  • Are these video based online self-learning courses?

    Yes. All of the courses comes with online video based lectures created by certified instructors. Instructors have crafted these courses with a blend of high quality interactive videos, lectures, quizzes & real world projects to give you an indepth knowledge about the topic.
  • Can i play & pause the course as per my convenience?

    Yes absolutely & thats one of the advantage of self-paced courses. You can anytime pause or resume the course & come back & forth from one lecture to another lecture, play the videos mulitple times & so on.
  • How do i contact the instructor for any doubts or questions?

    Most of these courses have general questions & answers already covered within the course lectures. However, if you need any further help from the instructor, you can use the inbuilt Chat with Instructor option to send a message to an instructor & they will reply you within 24 hours. You can ask as many questions as you want.
  • Do i need a pc to access the course or can i do it on mobile & tablet as well?

    Brilliant question? Isn't it? You can access the courses on any device like PC, Mobile, Tablet & even on a smart tv. For mobile & a tablet you can download the Learnfly android or an iOS app. If mobile app is not available in your country, you can access the course directly by visting our website, its fully mobile friendly.
  • Do i get any certificate for the courses?

    Yes. Once you complete any course on our platform along with provided assessments by the instructor, you will be eligble to get certificate of course completion.
  • For how long can i access my course on the platform?

    You require an active subscription to access courses on our platform. If your subscription is active, you can access any course on our platform with no restrictions.
  • Is there any free trial?

    Currently, we do not offer any free trial.
  • Can i cancel anytime?

    Yes, you can cancel your subscription at any time. Your subscription will auto-renew until you cancel, but why would you want to?

880 Course Views

2 Courses

Hey! I`m Rohit Dharaviya, I am a teacher, a student, and a programmer. By profession, I am a software engineer. I have done my Diploma and Degree in Electronics and Communication from Gujarat-India. Playing with computers and microcontrollers was always a favorite pass time for me, I used to teach in person. Topics I used to teach were Linux OS concepts, programming languages like C, CPP, and python. I used to provide guidance on making micro-controller-based projects as well. In the process, I have made some cool projects on different MCUs like 8051, Arduino, etc. I like to keep things simple, and I like to teach in the easiest way possible. Sing up for my course and let's learn together, Join me to learn about programming concepts, coding & micro-controller projects.
View More...
  • software-testing-qa-strong-basics-with-live-examples

    Software Testing/ QA strong basics ...

    By : Syam Mohan

    Lectures 12 Beginner Level 1:45:40
  • cicd-devops-tools-for-automation-testers-selenium

    CICD (DevOPs Tools) for Automation ...

    By : Automation Talks

    Lectures 32 All Level 8:11:45
  • selenium-java-beginners-to-advanced-with-live-project

    Selenium Java - Beginners to Advanc...

    By : Arun Motoori

    Lectures 296 All Level 126:18:14
  • new-selenium-ide-course

    New Selenium IDE Course

    By : Arun Motoori

    Lectures 142 All Level 17:41:19
  • locators-xpath-expressions-css-selectors-and-locator-tools

    Locators, XPath Expressions, CSS Se...

    By : Arun Motoori

    Lectures 89 All Level 20:15:28
Sign Up & Start Learning
By signing up, you agree to our Terms of Use and Privacy Policy
Create New Password
Enter your email address and we'll send you a link to reset your password.