Skip to content

PacktPublishing/-Hands-on-Test-Driven-Development-with-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Hands-On Test Driven Development with Python [Video]

This is the code repository for Hands-On Test Driven Development with Python [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.

About the Video Course

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.

What You Will Learn

  • Know how to write better Python code faster using the disciplines of Unit Testing and TDD
  • Use code coverage tools to ensure your unit tests are thoroughly testing all of your production code
  • See the application of Unit Testing and TDD using the PyTest unit testing framework to create your unit tests
  • Set up several popular Python IDEs to run PyTest unit tests and visually show the results in the IDE
  • Get to know the best practices for Unit Testing and TDD and how to apply them
  • Apply an Isolated Test Environment using the unittest.mock library to test your production code in isolation
  • Create Python virtual environments to create isolated Python development environments for each of your projects

Instructions and Navigation

Assumed Knowledge

To fully benefit from the coverage included in this course, you will need:
To fully benefit from the coverage included in this course, you will need: ● Prior working knowledge of the Python programming language (beginner level)

Technical Requirements

This course has the following software requirements:
This course has the following software requirements: ● A system running a recent version of Windows, Linux, or MacOS. ● Python 2.7 or 3 installed on that system ● An editor or IDE like PyCharm or Eclipse (an IDE is preferred but not required)

Related Products

About

Hands-on Test Driven Development with Python, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published