AACC – Spring 2023 – CTS-233-400 – DEVASC 200-901: Lab 3.5.7 – Part #2: Python Unit Testing

In this video, we now take our first look at what Test-Driven Development and Unit Testing are all about by leveraging the Python unittest library! We examine some basic examples of unit testing all done in a single file and then we look at dividing up the unit testing code from the main program code. We cover the importance of the ” if __name__ == ‘__main__ ” line of code in our file, how to import a module we created, where to look in the Python docs to find information on unittest and much mor Enjoy!

*These videos are being made for my AACC Spring 2023 CTS-233-400 learners to provide additional support for their learning journey.*