Companies Home Search Profile

Unit Testing with Python 3

Focused View

Emily Bache

2:49:21

76 View
  • 01. Course Overview.mp4
    01:29
  • 01. What Is a Unit Test.mp4
    02:47
  • 02. First Example Unit Test.mp4
    03:52
  • 03. Explanation of Test Case and Test Runner.mp4
    03:56
  • 04. Exception Checking with assertRaises & Explaination of Test Suite.mp4
    01:44
  • 05. Skipping a Test Case & Explanation of Test Fixture.mp4
    04:35
  • 06. Vocabulary Summary.mp4
    00:58
  • 07. Example of Poor Unit Test Design.mp4
    04:37
  • 08. Better Design with Arrange-Act-Assert.mp4
    02:45
  • 09. Detailed Design of Arrange-Act-Assert Test Parts.mp4
    03:12
  • 10. Module Summary.mp4
    00:53
  • 01. Introducing the Module Topics - Why and When.mp4
    01:23
  • 02. Unit Testing Helps You to Understand What to Build.mp4
    02:44
  • 03. Unit Testing Helps You to Document the Units.mp4
    02:07
  • 04. Unit Testing Helps You with Design.mp4
    04:12
  • 05. Unit Testing Helps You Detect Regression.mp4
    02:54
  • 06. Limitations of Unit Testing.mp4
    01:52
  • 07. Unit Testing Is Part of Your Job.mp4
    01:31
  • 08. Test-Last Process.mp4
    01:45
  • 09. Test-First Process.mp4
    02:08
  • 10. Test-Driven Development.mp4
    02:02
  • 11. Automated Build Servers and Continuous Integration.mp4
    03:41
  • 12. Module Summary.mp4
    00:44
  • 01. Introducing pytest - a Popular Alternative to unittest.mp4
    02:32
  • 02. First Test Case and Failure Analysis.mp4
    03:20
  • 03. Using PyCharms Test Runner.mp4
    01:47
  • 04. Additional Kinds of Assertion, Including assertRaises.mp4
    02:38
  • 05. Introduction to Test Fixtures.mp4
    02:36
  • 06. Cleaning up Fixture Resources, Chaining Fixtures.mp4
    03:45
  • 07. Organzing Test Code for Larger Programs.mp4
    03:36
  • 08. Using Markers to Control Which Tests Are Run.mp4
    04:06
  • 09. Using an HTML Report Plugin & Module Summary.mp4
    01:31
  • 01. Introducing doctest - Embed Unit Tests in Your Docstrings.mp4
    02:54
  • 02. Introduction to Yatzy Example & a First doctest.mp4
    03:16
  • 03. Using a Test Runner to Execute Your Doctests.mp4
    02:04
  • 04. Interpreting Test Failures and Updating Your Docstring.mp4
    01:53
  • 05. Handling Output That Varies Using a Wildcard.mp4
    04:08
  • 06. Handling Random Numbers, Dictionaries, Floats, and Tracebacks.mp4
    04:03
  • 07. Global Options and Directives.mp4
    03:05
  • 08. Regression Testing Your Tutorial Documentation.mp4
    03:36
  • 09. Module Summary.mp4
    00:55
  • 01. What Is a Test Double.mp4
    02:03
  • 02. Example Using a Stub.mp4
    03:45
  • 03. Creating a Stub Using unittest.Mock.mp4
    02:28
  • 04. Example Using a Fake.mp4
    04:31
  • 05. Example Using a Dummy.mp4
    02:48
  • 06. Mocks and Spies Give You a Third Kind of Assertion.mp4
    02:03
  • 07. Example Using a Spy.mp4
    05:35
  • 08. Example Using a Mock.mp4
    04:22
  • 09. Overview of All the Types of Test Double.mp4
    01:41
  • 10. Using Monkeypatching to Insert a Test Double.mp4
    04:17
  • 11. Example Using Monkeypatching to Replace a Built-in Function.mp4
    02:35
  • 12. Module Summary.mp4
    00:42
  • 01. Module Introduction.mp4
    00:27
  • 02. Example Using Parameterized Tests with pytest.mp4
    03:19
  • 03. Example Using Parameterized Tests with unittest.mp4
    01:58
  • 04. Example Measuring Test Coverage.mp4
    02:58
  • 05. Example Measuring Branch Coverage.mp4
    03:17
  • 06. Example Adding Parameterized Tests to Existing Code with Coverage.mp4
    05:44
  • 07. Tracking Coverage Trends.mp4
    02:01
  • 08. Good Uses for Coverage, and Alternatives for Assessing Test Quality.mp4
    02:35
  • 09. Module Summary.mp4
    00:36
  • Description


    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.

    What You'll Learn?


      Once you’ve learned the basics of the Python language and started building programs, you will soon realize a need for some automated tests to make sure everything you’ve built keeps on working as you (and other developers) extend and improve it. In this course, Unit Testing with Python, you will learn foundational knowledge in unit testing. First, you will discover how to write and run tests using the ‘unittest’ framework, and some theory about how to design good test cases. Next, you will explore other popular testing frameworks in Python - pytest and doctest. Finally, you will examine how to use test doubles effectively, and techniques for parameterized testing and measuring test coverage. When you’re finished with this course, you will have the skills and knowledge of writing unit tests needed to be confident adding tests for the code you write, and sharing those tests with other developers.

    More details


    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Emily Bache is an independent consultant and technical coach specializing in automated testing and agile methods. Emily works daily with development teams helping them to improve their automated tests and raise code quality. Emily is the author of "Technical Coaching with the Samman method" and "The Coding Dojo Handbook: a practical guide to creating a space where good programmers can become great programmers". Emily spent many years working at AstraZeneca, a multinational pharmaceuticals company. There she led a team of developers building and extending a high-performance distributed system written in Python. Emily was proud to receive AstraZeneca's "Global Scientific and Technical Achievement Award" for her work. Since then she has developed automated testing strategies for software products at several other multinational companies.
    Pluralsight, LLC is an American privately held online education company that offers a variety of video training courses for software developers, IT administrators, and creative professionals through its website. Founded in 2004 by Aaron Skonnard, Keith Brown, Fritz Onion, and Bill Williams, the company has its headquarters in Farmington, Utah. As of July 2018, it uses more than 1,400 subject-matter experts as authors, and offers more than 7,000 courses in its catalog. Since first moving its courses online in 2007, the company has expanded, developing a full enterprise platform, and adding skills assessment modules.
    • language english
    • Training sessions 62
    • duration 2:49:21
    • level average
    • Release Date 2023/03/30

    Courses related to Python