Unit Testing and Test Driven Development in Python
MP4 | Video: 720p | Duration: 2:00:59 | English | Subtitles: VTT | 369.9 MB
MP4 | Video: 720p | Duration: 2:00:59 | English | Subtitles: VTT | 369.9 MB
Every software developer wants to ship high-quality applications. Test-driven development (TDD) is a key discipline that can help you enhance your development process—and, in turn, your code base—by ensuring that crashes and bugs are addressed early on. In this course, join Richard Wells as he covers unit testing and TDD for Python projects. Richard provides an overview of both unit testing and TDD, explaining why both are crucial for developers. He also shows how to set up your development environment for TDD and goes over the pytest unit-testing framework. Throughout the course, he shares best practices and provides examples and test cases that can help you gain a practical understanding of TTD in Python.
Topics include:
-
- What is unit testing?
- What is test-driven development (TDD)?
- Setting up your development environment
- Setting up pytest with Eclipse and PyCharm
- Working with pytest
- Assert statements and exceptions
- Test doubles
- TDD best practices