Python Tutorial: Unit Testing Your Code with the unittest Module

Course Feature
  • Cost
    Free
  • Provider
    Youtube
  • Certificate
    No Information
  • Language
    English
  • Start Date
    2017-08-16
  • Learners
    No Information
  • Duration
    No Information
  • Instructor
    Corey Schafer
Next Course
3.0
1,196,468 Ratings
This Python Programming Tutorial will teach learners how to unit-test their code using the unittest module. Unit testing is a must for any large projects and is used by all major companies. It will also help to improve personal code. Learners will be able to refactor and update their code with confidence, as unit testing allows them to know if their changes have broken any existing code. The code from this tutorial can be found at the given GitHub link, and unittest assert methods and the 'if _name_ == '__main__' video are also provided. Support for this tutorial can be found through Patreon, becoming a channel member, one-time contribution through PayPal, cryptocurrency donations, and Corey's public Amazon wishlist.
Show All
Course Overview

❗The content presented here is sourced directly from Youtube platform. For comprehensive course details, including enrollment information, simply click on the 'Go to class' link on our website.

Updated in [July 27th, 2023]

This Python Programming Tutorial teaches learners how to use the unittest module to unit-test their code. Unit testing allows users to be more confident when refactoring and updating their code, as it allows them to know if their changes have broken any existing code. It is a must for any large projects and is used by all major companies. It will also help to improve personal code. The code from this tutorial can be found at the given GitHub link. Additionally, unittest assert methods and the 'if _name_ == '__main__' video are also provided. Support for this tutorial is available through Patreon, becoming a channel member, one-time contribution through PayPal, cryptocurrency donations, and Corey's public Amazon wishlist. Equipment used and books recommended can also be found on Amazon.

Show All
Recommended Courses
mastering-unit-testing-in-c-a-beginners-guide-17360
Mastering Unit Testing in C#: A Beginners Guide
3.4
Udemy 624 learners
Learn More
This course is perfect for those who are new to unit testing in C#. It covers the theory of unit testing, the difference between NUnit and XUnit, assertions, exception testing, and mocking. It also provides practical examples to help learners understand how to use and implement these concepts. It is recommended that learners have some experience with C# and .NET before taking this course. Mastering Unit Testing in C#: A Beginners Guide is the perfect course for those who want to learn the basics of unit testing in C#. Sign up now and start mastering unit testing in C#!
phpunit-unit-selenium-testing-for-php-developers-17361
PHPUnit - Unit & Selenium Testing For PHP Developers
4.5
Udemy 979 learners
Learn More
This course provides an opportunity for new learners to learn how to use PHPUnit and Selenium for testing their code and become better PHP developers. Learners will gain an understanding of unit tests, integration, functional and acceptance tests, and learn how to write code that is testable. They will also benefit from the time-saving and mistake-finding advantages of code testing. Through lectures, coding exercises, quizzes, assignments and other practical activities, learners will build a real MVC-based application in PHP and PHPUnit using TDD and learn how to test API clients. Upon completion, learners will have the skills to become better PHP developers and increase their chances of getting hired.
master-java-unit-testing-with-spring-boot-mockito-17362
Master Java Unit Testing with Spring Boot & Mockito
4.6
Udemy 28,179 learners
Learn More
This course is a great introduction to unit and integration testing using Spring Boot, Mockito, and other libraries. It is designed to teach new learners how to write effective tests for simple RESTful services. Learners will build the unit tests step by step, learning to write independent unit tests for web, business, and data layers. They will also learn how to write integration tests using an in memory database H2. Reviews from learners have been overwhelmingly positive, with many noting the comprehensive introduction to Spring Boot Test, the concise tutorials for JUnit of microservices, and the clear explanation of when is good and how to create unit tests in an app. Master Java Unit Testing with Spring Boot & Mockito and learn how to write effective tests for simple RESTful services.
test-unit-framework-unit-testing-for-ruby-17363
Test::Unit Framework: Unit Testing for Ruby
3.5
Udemy 239 learners
Learn More
This course provides a comprehensive introduction to the Test::Unit Framework, a unit testing framework for Ruby based on xUnit principles. It covers topics such as Test Unit Setup, Basic of Test Unit, Setup and Teardown, and Writing Test Cases using Test Unit. Additionally, it provides information on the test-unit 1.2.3 gem, as well as other features such as GUI test runners. Perfect for new learners, this course is designed to help you understand the fundamentals of the Test::Unit Framework and how to use it effectively. Click now to get started and learn the basics of unit testing with the Test::Unit Framework.
Favorites (0)
Favorites
0 favorite option

You have no favorites

Name delet
arrow Click Allow to get free Python Tutorial: Unit Testing Your Code with the unittest Module courses!