Python TDD Workflow - Unit Testing Code Example for Beginners
Offered By: Python Simplified via YouTube
Course Description
Overview
Learn the Test-Driven Development (TDD) workflow in Python through a hands-on tutorial implementing Caesar's Cipher encryption algorithm. Explore the Three Laws of TDD, write unit tests, and develop code incrementally. Practice creating assertions, handling input/output, and ensuring code reliability. Participate in a coding challenge to reinforce your newly acquired TDD skills. Gain practical experience with unittest, Jupyter Notebook syntax, and version control using Wayscript.
Syllabus
In the very end - I also have a CHALLANGE for you! So make sure you tune in at minute to participate and practice your new set of skills!
Quick instructions of how to do this via Wayscript at minute
- Intro
- Three Laws of TDD
- Basic syntax
- Jupyter Notebook syntax
- Assertion
- Production Code
- 2 minutes
- Test Input Data Type
- Test Return Output
- Test Input and Output Length
- Test Input different from Output
- Test Output Data Type
- Test Caesars Cipher
- Test More Inputs
- Challenge for you!
- How to share your code via Wayscript
- Thanks for watching! :
Taught by
Python Simplified
Related Courses
Introduction to Data Science in PythonUniversity of Michigan via Coursera Julia Scientific Programming
University of Cape Town via Coursera Python for Data Science
University of California, San Diego via edX Probability and Statistics in Data Science using Python
University of California, San Diego via edX Introduction to Python: Fundamentals
Microsoft via edX