
This video will give you an overview about the course.
This video provides an overview Unit Testing and Test Driven Development.
In this video, we walk through a simple coding session using Unit TDD.
In this video, we will learn what python virtual environments are, learn how they help you manage your python projects, and look at some examples.
In this video, we will walk through setting up PyTest in the PyCharm Python IDE.
In this video, we will walk through setting up PyTest in the Eclipse IDE.
This video will provide an introduction to the PyTest Unit Testing Framework.
In this video, we will go over how PyTest automatically discovers unit tests and review some examples.
In this video, we will learn about PyTest’s implementation of the XUnit style of setup and teardown code and go over a few examples.
In this video, we will learn about what PyTest Test Fixtures are and go over a few examples.
In this video, we will learn about how the Python assert statement is used in your PyTest Unit Tests, how to test exceptions, and go over some examples.
In this video, we will learn about some useful PyTest command line arguments and go over some examples.
In this video, we will introduce the Checkout Cart Kata that we’ll be working through in this section and implement the first test case.
In this video, we will be implementing the next three test cases in the Checkout Cart Kata: adding items, adding item prices, and calculating the total.
In this video, we will implement the next test case of the Checkout Cart Kata: Adding multiple items and calculating the correct total.
In this video, we will implement the next test case in the Checkout Cart Kata: Adding and applying discounts.
In this video, we will implement the last test case in the Checkout Cart Kata: Throwing an exception when adding an item with no price.
In this video, we go over what test doubles are and how they help you test your production code in isolation. Then we’ll go over how to use the unittest.mock mocking framework and the PyTest monkeypatch TestFixture for easily implementing test doubles in your tests.
In this video, we will walk through some simple examples of mocking out calls to the filesystem.
In this video, we will walk through a simple example of using mocks to instantiate an abstract interface in unit tests.
In this video, we will walk through a simple example of mocking out network connection calls so those network connections aren't actually required in your test environment.
In this video, we will update the Checkout class to have a function to read in item prices from a file and we’ll mock out the file system calls in our unit test.
In this video, we will go over some Unit Testing and TDD Best Practices that I've found to be essential to making sure TDD is as helpful an productive as possible.
In this video, we will walk through some examples of the best practices in action.
In this video, we will learn more about the different types of code coverage and the PyTest.cov code coverage tool.
In this video, we will walk through a simple hands on example of using PyTest.cov to generate a code coverage report.
Do you want to be one of the core developers at your company—the person that everyone wants on their team, and who can deliver new features that work on time? Unit Testing and Test-Driven Development (TDD) are key disciplines that can help you achieve that goal.
In this video tutorial, you’ll learn about the PyTest testing library and how it’s used to write unit tests in Python. You’ll also set up some common Python development environments to use PyTest. You’ll create isolated test environments with Test Doubles and learn how to implement and use them with unittest.mock. Moving on, you’ll get to know some of the best practices in Unit Testing and TDD and get some hands-on experience with programming by implementing unit tests using TDD in Python.
By the end of this course, you’ll be able to apply the practices of Unit Testing and TDD on a daily basis to radically increase the quality of your code and help you and your company achieve your goals faster than ever before.
About The Author
Richard Wells is a software engineer with over twenty years of experience. He has contributed immensely towards writing codes in Assembly, C, C++, Java, C#, Javascript, and Python. He is also well-informed with the entire software development lifecycle. He has written system requirements, software requirements, use cases, and user stories. He has worked on several difficult projects with tight deadlines and high expectations for quality and because of that, he is an avid practitioner of Agile, Scrum, and Extreme Programming disciplines. He is very much passionate about the process of writing quality software fast.