Companies Home Search Profile

Unit Testing with Python 3

Focused View

Emily Bache

2:49:21

106 View
  • 01. Course Overview.mp4
    01:29
  • 01. course overview.zip
  • 01. What Is a Unit Test.mp4
    02:47
  • 01. what is a unit test.zip
  • 02. First Example Unit Test.mp4
    03:52
  • 02. first example unit test.zip
  • 03. Explanation of 'Test Case' and 'Test Runner'.mp4
    03:56
  • 03. explanation of 'test case' and 'test runner'.zip
  • 04. Exception Checking with assertRaises & Explaination of 'Test Suite'.mp4
    01:44
  • 04. exception checking with assertraises & explaination of 'test suite'.zip
  • 05. Skipping a Test Case & Explanation of 'Test Fixture'.mp4
    04:35
  • 05. skipping a test case & explanation of 'test fixture'.zip
  • 06. Vocabulary Summary.mp4
    00:58
  • 06. vocabulary summary.zip
  • 07. Example of Poor Unit Test Design.mp4
    04:37
  • 07. example of poor unit test design.zip
  • 08. Better Design with Arrange-Act-Assert.mp4
    02:45
  • 08. better design with arrange-act-assert.zip
  • 09. Detailed Design of Arrange-Act-Assert Test Parts.mp4
    03:12
  • 09. detailed design of arrange-act-assert test parts.zip
  • 10. Module Summary.mp4
    00:53
  • 10. module summary.zip
  • 01. Introducing the Module Topics - Why and When.mp4
    01:23
  • 01. introducing the module topics - why and when.zip
  • 02. Unit Testing Helps You to Understand What to Build.mp4
    02:44
  • 02. unit testing helps you to understand what to build.zip
  • 03. Unit Testing Helps You to Document the Units.mp4
    02:07
  • 03. unit testing helps you to document the units.zip
  • 04. Unit Testing Helps You with Design.mp4
    04:12
  • 04. unit testing helps you with design.zip
  • 05. Unit Testing Helps You Detect Regression.mp4
    02:54
  • 05. unit testing helps you detect regression.zip
  • 06. Limitations of Unit Testing.mp4
    01:52
  • 06. limitations of unit testing.zip
  • 07. Unit Testing Is Part of Your Job.mp4
    01:31
  • 07. unit testing is part of your job.zip
  • 08. Test-Last Process.mp4
    01:45
  • 08. test-last process.zip
  • 09. Test-First Process.mp4
    02:08
  • 09. test-first process.zip
  • 10. Test-Driven Development.mp4
    02:02
  • 10. test-driven development.zip
  • 11. Automated Build Servers and Continuous Integration.mp4
    03:41
  • 11. automated build servers and continuous integration.zip
  • 12. Module Summary.mp4
    00:44
  • 12. module summary.zip
  • 01. Introducing pytest - a Popular Alternative to unittest.mp4
    02:32
  • 01. introducing pytest - a popular alternative to unittest.zip
  • 02. First Test Case and Failure Analysis.mp4
    03:20
  • 02. first test case and failure analysis.zip
  • 03. Using PyCharm's Test Runner.mp4
    01:47
  • 03. using pycharm's test runner.zip
  • 04. Additional Kinds of Assertion, Including assertRaises.mp4
    02:38
  • 04. additional kinds of assertion, including assertraises.zip
  • 05. Introduction to Test Fixtures.mp4
    02:36
  • 05. introduction to test fixtures.zip
  • 06. Cleaning up Fixture Resources, Chaining Fixtures.mp4
    03:45
  • 06. cleaning up fixture resources, chaining fixtures.zip
  • 07. Organzing Test Code for Larger Programs.mp4
    03:36
  • 07. organzing test code for larger programs.zip
  • 08. Using Markers to Control Which Tests Are Run.mp4
    04:06
  • 08. using markers to control which tests are run.zip
  • 09. Using an HTML Report Plugin & Module Summary.mp4
    01:31
  • 09. using an html report plugin & module summary.zip
  • 01. Introducing doctest - Embed Unit Tests in Your Docstrings.mp4
    02:54
  • 01. introducing doctest - embed unit tests in your docstrings.zip
  • 02. Introduction to Yatzy Example & a First doctest.mp4
    03:16
  • 02. introduction to yatzy example & a first doctest.zip
  • 03. Using a Test Runner to Execute Your Doctests.mp4
    02:04
  • 03. using a test runner to execute your doctests.zip
  • 04. Interpreting Test Failures and Updating Your Docstring.mp4
    01:53
  • 04. interpreting test failures and updating your docstring.zip
  • 05. Handling Output That Varies Using a Wildcard.mp4
    04:08
  • 05. handling output that varies using a wildcard.zip
  • 06. Handling Random Numbers, Dictionaries, Floats, and Tracebacks.mp4
    04:03
  • 06. handling random numbers, dictionaries, floats, and tracebacks.zip
  • 07. Global Options and Directives.mp4
    03:05
  • 07. global options and directives.zip
  • 08. Regression Testing Your Tutorial Documentation.mp4
    03:36
  • 08. regression testing your tutorial documentation.zip
  • 09. Module Summary.mp4
    00:55
  • 09. module summary.zip
  • 01. What Is a Test Double.mp4
    02:03
  • 01. what is a test double.zip
  • 02. Example Using a Stub.mp4
    03:45
  • 02. example using a stub.zip
  • 03. Creating a Stub Using unittest.Mock.mp4
    02:28
  • 03. creating a stub using unittest.mock.zip
  • 04. Example Using a Fake.mp4
    04:31
  • 04. example using a fake.zip
  • 05. Example Using a Dummy.mp4
    02:48
  • 05. example using a dummy.zip
  • 06. Mocks and Spies Give You a Third Kind of Assertion.mp4
    02:03
  • 06. mocks and spies give you a third kind of assertion.zip
  • 07. Example Using a Spy.mp4
    05:35
  • 07. example using a spy.zip
  • 08. Example Using a Mock.mp4
    04:22
  • 08. example using a mock.zip
  • 09. Overview of All the Types of Test Double.mp4
    01:41
  • 09. overview of all the types of test double.zip
  • 10. Using Monkeypatching to Insert a Test Double.mp4
    04:17
  • 10. using monkeypatching to insert a test double.zip
  • 11. Example Using Monkeypatching to Replace a Built-in Function.mp4
    02:35
  • 11. example using monkeypatching to replace a built-in function.zip
  • 12. Module Summary.mp4
    00:42
  • 12. module summary.zip
  • 01. Module Introduction.mp4
    00:27
  • 01. module introduction.zip
  • 02. Example Using Parameterized Tests with pytest.mp4
    03:19
  • 02. example using parameterized tests with pytest.zip
  • 03. Example Using Parameterized Tests with unittest.mp4
    01:58
  • 03. example using parameterized tests with unittest.zip
  • 04. Example Measuring Test Coverage.mp4
    02:58
  • 04. example measuring test coverage.zip
  • 05. Example Measuring Branch Coverage.mp4
    03:17
  • 05. example measuring branch coverage.zip
  • 06. Example Adding Parameterized Tests to Existing Code with Coverage.mp4
    05:44
  • 06. example adding parameterized tests to existing code with coverage.zip
  • 07. Tracking Coverage Trends.mp4
    02:01
  • 07. tracking coverage trends.zip
  • 08. Good Uses for Coverage, and Alternatives for Assessing Test Quality.mp4
    02:35
  • 08. good uses for coverage, and alternatives for assessing test quality.zip
  • 09. Module Summary.mp4
    00:36
  • 09. module summary.zip
  • 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/02/20