From the course: Unit Testing and Test Driven Development in Python

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

What is unit testing?

What is unit testing?

- [Narrator] In this lecture, we're going to start the course on test room and development by defining what unit testing actually is. We'll go over some of the common types of software testing, look more closely at the specifics of unit testing and review a simple example. So why do we go through the effort of writing and running unit test? Because software bugs can hurt the business. We don't want any bugs making it out to the field for our customers to see it's that could hurt our reputation and cause customers to look at using other products. Software testing attempts to address this problem by catching any bugs in the software before they get to the field. This is done systematically with a multi-layered approach where each layer of testing provides a safety net for catching bugs before they get to the field. There are several levels of testing which provide the layers of safety nets for catching any bugs that might be in the code. The lowest level are unit tests. Unit tests…

Contents