Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Pytest Essentials: Unit Testing
Rating: 4.2 out of 5(29 ratings)
147 students
Created byFanuel Mapuwei
Last updated 6/2021
English

What you'll learn

  • Write and execute a test using pytest
  • Debug test scripts using Python Debugger
  • Pytest Configuration as a default test runner
  • File execution based on test function name
  • Parametrizing Testing
  • Apply markers and fixtures for test

Course content

6 sections23 lectures1h 43m total length
  • PyCharm installation4:49
  • Pytest Configuration on Mac OS using PyCharm5:08

    Learn how to configure pytest on macOS using PyCharm, install pytest in the Python interpreter, and set it as the default test runner with project directories and run configurations.

  • Course Curriculum Overview1:47
  • Pytest Configuration on Windows OS using PyCharm5:28

    Configure pytest on Windows OS using PyCharm by installing pytest, setting it as the default test runner, and defining the working directory and test configuration for a sample Python file.

  • Scripting and Execute a test using Pytest3:31

Requirements

  • Python Programming knowledge
  • Mac OS or Windows PC

Description

Hello Everyone, welcome to Unit Testing with Pytest Frameworks.

This course is suitable for those who are confident enough with Python programming concepts. In this course, we will discuss step by step on how Pytest Framework Handle Testing and making sure that you get started with your first test. However, I assume that you know all the Python core foundation concepts so that you won’t left behind.

Pytest Is necessary for Test Driven Development where by, you run your code and let it fail hence let the testing Framework provide solutions for you to resolve the failed test code for your design Learners who successfully finished the course will have the skills and knowledge to create Great Applications with a well-organized code and effective for the job required.

Lastly, if you do not know Python at all this course is not for you. However, those who develop application software’s using Python programming language this is the right course for you, this course will help in reduce time in debugging through techniques that will stir up the coding process.

Why learn Pytest:

· To reduce execution time through multiple test in parallel.

· We can run subset of the entire suite.

· It helps in problem-solving through TDD

· To test API, Database

Who this course is for:

  • Python learners who wish to use Pytest for Unit Testing