وب سایت تخصصی شرکت فرین
دسته بندی دوره ها

Unit Testing with Python 3

سرفصل های دوره

Unit testing is a great way to foster quality and enhance collaboration with other developers. Learn to write unit tests in good style using popular frameworks like unittest and pytest.


1. Course Overview
  • 01. Course Overview

  • 2. Unit Test Fundamentals
  • 01. What Is a Unit Test
  • 02. First Example Unit Test
  • 03. Explanation of Test Case and Test Runner
  • 04. Exception Checking with assertRaises & Explaination of Test Suite
  • 05. Skipping a Test Case & Explanation of Test Fixture
  • 06. Vocabulary Summary
  • 07. Example of Poor Unit Test Design
  • 08. Better Design with Arrange-Act-Assert
  • 09. Detailed Design of Arrange-Act-Assert Test Parts
  • 10. Module Summary

  • 3. Unit Testing Why and When
  • 01. Introducing the Module Topics - Why and When
  • 02. Unit Testing Helps You to Understand What to Build
  • 03. Unit Testing Helps You to Document the Units
  • 04. Unit Testing Helps You with Design
  • 05. Unit Testing Helps You Detect Regression
  • 06. Limitations of Unit Testing
  • 07. Unit Testing Is Part of Your Job
  • 08. Test-Last Process
  • 09. Test-First Process
  • 10. Test-Driven Development
  • 11. Automated Build Servers and Continuous Integration
  • 12. Module Summary

  • 4. Unit Testing with pytest
  • 01. Introducing pytest - a Popular Alternative to unittest
  • 02. First Test Case and Failure Analysis
  • 03. Using PyCharms Test Runner
  • 04. Additional Kinds of Assertion, Including assertRaises
  • 05. Introduction to Test Fixtures
  • 06. Cleaning up Fixture Resources, Chaining Fixtures
  • 07. Organzing Test Code for Larger Programs
  • 08. Using Markers to Control Which Tests Are Run
  • 09. Using an HTML Report Plugin & Module Summary

  • 5. Testable Documentation with doctest
  • 01. Introducing doctest - Embed Unit Tests in Your Docstrings
  • 02. Introduction to Yatzy Example & a First doctest
  • 03. Using a Test Runner to Execute Your Doctests
  • 04. Interpreting Test Failures and Updating Your Docstring
  • 05. Handling Output That Varies Using a Wildcard
  • 06. Handling Random Numbers, Dictionaries, Floats, and Tracebacks
  • 07. Global Options and Directives
  • 08. Regression Testing Your Tutorial Documentation
  • 09. Module Summary

  • 6. Using Test Doubles
  • 01. What Is a Test Double
  • 02. Example Using a Stub
  • 03. Creating a Stub Using unittest.Mock
  • 04. Example Using a Fake
  • 05. Example Using a Dummy
  • 06. Mocks and Spies Give You a Third Kind of Assertion
  • 07. Example Using a Spy
  • 08. Example Using a Mock
  • 09. Overview of All the Types of Test Double
  • 10. Using Monkeypatching to Insert a Test Double
  • 11. Example Using Monkeypatching to Replace a Built-in Function
  • 12. Module Summary

  • 7. Parameterized Tests & Test Coverage
  • 01. Module Introduction
  • 02. Example Using Parameterized Tests with pytest
  • 03. Example Using Parameterized Tests with unittest
  • 04. Example Measuring Test Coverage
  • 05. Example Measuring Branch Coverage
  • 06. Example Adding Parameterized Tests to Existing Code with Coverage
  • 07. Tracking Coverage Trends
  • 08. Good Uses for Coverage, and Alternatives for Assessing Test Quality
  • 09. Module Summary
  • 45,900 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    خرید دانلودی فوری

    در این روش نیاز به افزودن محصول به سبد خرید و تکمیل اطلاعات نیست و شما پس از وارد کردن ایمیل خود و طی کردن مراحل پرداخت لینک های دریافت محصولات را در ایمیل خود دریافت خواهید کرد.

    ایمیل شما:
    تولید کننده:
    مدرس:
    شناسه: 8951
    حجم: 456 مگابایت
    مدت زمان: 170 دقیقه
    تاریخ انتشار: 11 فروردین 1402
    دیگر آموزش های این مدرس
    طراحی سایت و خدمات سئو

    45,900 تومان
    افزودن به سبد خرید