Introduction to Unit Testing

Learn about unit testing.

Now that we have a working pipeline ready, it’s time to reflect on our development journey. We started off with the architecture of the system and decided on the directory structure and code organization. Then we designed and developed the individual components that make up our ml_pipeline library and the top-level pipeline.py code. We trained the iris classifier model successfully using the pipeline. Finally, we extended the pipeline for the AutoMPG regressor. So is there anything left to do? Actually, we’ve left out a major developmental activity, which is the writing and running of unit tests.

Get hands-on with 1200+ tech skills courses.