HOME > Development > Python Unit Testing Fundamentals (using unittest pytest)

Python Unit Testing Fundamentals (using unittest pytest)

  • Development
  • Apr 29, 2025
SynopsisPython Unit Testing Fundamentals (using unittest & pytest...
Python Unit Testing Fundamentals (using unittest pytest)  No.1

Python Unit Testing Fundamentals (using unittest & pytest), available at $59.99, has an average rating of 4.13, with 48 lectures, 1 quizzes, based on 99 reviews, and has 749 subscribers.

You will learn about Develop Unit Test Cases Develop Test Suites Run Test Cases Ignore & Skip Test Cases Developing Tests using unittest module Developing Tests using pytest module Generating Results in XML Format (pytest) Generating Results in HTML Format (pytest) This course is ideal for individuals who are DevOps Engineers or Cloud Engineers or Python Programmers or Python Automation Engineers It is particularly useful for DevOps Engineers or Cloud Engineers or Python Programmers or Python Automation Engineers.

Enroll now: Python Unit Testing Fundamentals (using unittest & pytest)

Summary

Title: Python Unit Testing Fundamentals (using unittest & pytest)

Price: $59.99

Average Rating: 4.13

Number of Lectures: 48

Number of Quizzes: 1

Number of Published Lectures: 47

Number of Published Quizzes: 1

Number of Curriculum Items: 49

Number of Published Curriculum Objects: 48

Original Price: $64.99

Quality Status: approved

Status: Live

What You Will Learn

  • Develop Unit Test Cases
  • Develop Test Suites
  • Run Test Cases
  • Ignore & Skip Test Cases
  • Developing Tests using unittest module
  • Developing Tests using pytest module
  • Generating Results in XML Format (pytest)
  • Generating Results in HTML Format (pytest)
  • Who Should Attend

  • DevOps Engineers
  • Cloud Engineers
  • Python Programmers
  • Python Automation Engineers
  • Target Audiences

  • DevOps Engineers
  • Cloud Engineers
  • Python Programmers
  • Python Automation Engineers
  • You might be wondering what this course is about? Well, this course is all about Unit Testing with Python and how it can help you become better at the art of programming. In other words, this course will teach you how to use Unit Testing to improve code quality and support future development. 

    Unit tests should provide immediate value in terms of reduced debugging and better design, which is why it’s a skill that should be mastered by all python programmers, regardless of their career path. This course will show you how to write unit tests for your code in Python! The course is designed to be practical with hands-on examples you can use right away.

    Good unit tests should provide immediate value in terms of reduced debugging and better design, and increase your confidence in the code.

    A lot of people can learn to write unit tests with this course, regardless of their career path. To help you get started, you get a 30-day money back guarantee on your purchase

    You will learn:

  • Understand the terms: Test Case, Test Suite, Test Runner, Unit Under Test and Test Fixture.

  • Write Unit Tests

  • Running Unit Tests

  • Writing Test Suite

  • Skipping and Ignoring Unit Tests

  • Setup and TearDown

  • Test Discovery

  • Handling Known Errors

  • Best Practices

  • Course Curriculum

    Chapter 1: Unit Testing in Python

    Lecture 1: About This Course

    Chapter 2: Course 1 > Start : Python Unit Testing with unittest

    Lecture 1: Course Resources

    Lecture 2: Course Overview

    Lecture 3: Recommendations and Requirements

    Lecture 4: Why Unit Testing?

    Chapter 3: Unit Testing Fundamentals

    Lecture 1: What is Unit Testing?

    Lecture 2: Unit Testing Frameworks

    Lecture 3: Terminology

    Lecture 4: My First Unit Test Case

    Lecture 5: Unit Tests for a class

    Lecture 6: Running Test Cases

    Lecture 7: unittest Documentation

    Lecture 8: Unit Test Cases – Revisit

    Lecture 9: Skipping and Ignoring Unit Test Cases

    Lecture 10: Text Fixture – Setup & Tear Down

    Lecture 11: Developing Test Suites

    Lecture 12: Test Discovery

    Lecture 13: Handling Known Errors

    Chapter 4: Best Practices

    Lecture 1: Best Practices – Part 1 (Discussion)

    Lecture 2: Best Practices – Part 2 (Hands-on Demo)

    Chapter 5: Quiz

    Chapter 6: Course 1: Conclusion (Unit Testing with unittest module)

    Lecture 1: Congrats

    Chapter 7: Course 2 > Start : Python Unit Testing with pytest

    Lecture 1: Course Resources

    Lecture 2: Course Overview

    Chapter 8: Unit Testing with pytest

    Lecture 1: Module Overview

    Lecture 2: pytest installation in Pycharm

    Lecture 3: pytest Documentation

    Lecture 4: My First Unit Test with pytest

    Lecture 5: Sample Code (Apps) Review

    Lecture 6: Writing Basic Tests (Employee Module)

    Lecture 7: Assertions

    Lecture 8: Test Identification

    Lecture 9: Skipping Tests

    Lecture 10: Parameterize

    Lecture 11: Test Fixture

    Lecture 12: Categorizing Tests

    Chapter 9: Running Tests

    Lecture 1: Module Overview

    Lecture 2: Running Tests using PyCharm Interface

    Lecture 3: Running Tests in Terminal

    Lecture 4: Running a Subset

    Lecture 5: Stop Test Execution after N Test Failures (MaxFail)

    Lecture 6: Durations

    Lecture 7: Parallel Execution

    Chapter 10: Reporting

    Lecture 1: Module Overview

    Lecture 2: Generating results in XML format

    Lecture 3: Generating results in HTML format

    Chapter 11: Course 2: Conclusion (Unit Testing with Pytest)

    Lecture 1: Congrats

    Chapter 12: Conclusion & Bonus

    Lecture 1: Bonus

    Instructors

  • Python Unit Testing Fundamentals (using unittest pytest)  No.2
    Coding Gears | Train Your Brain
    Technology Architect
  • Rating Distribution

  • 1 stars: 3 votes
  • 2 stars: 5 votes
  • 3 stars: 11 votes
  • 4 stars: 35 votes
  • 5 stars: 45 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!