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
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity