# Apache Spark Unit Testing Day 3 Lab

> In this lab, Zach walks you through the process of creating unit tests in PySpark, including how to handle bad data and ensure your tests pass. He demonstrates the importance of testing logic without impacting datasets and share tips on using named tuples and data frames effectively. He also discus…

- Web page: https://www.dataexpert.io/lesson/apache-spark-unit-testing-day-3-lab-jan2025
- Program: [2025 New Year  Data Engineering Boot Camp starting January 6th](https://www.dataexpert.io/program/2025-new-year-data-engineering-boot-camp-starting-january-6th)
- Access: Requires enrollment in 2025 New Year  Data Engineering Boot Camp starting January 6th
- Length: 36 min video
- Skills: Python, Apache Spark
- Academy: DataExpert.io Academy

## About this lesson

In this lab, Zach walks you through the process of creating unit tests in PySpark, including how to handle bad data and ensure your tests pass. He demonstrates the importance of testing logic without impacting datasets and share tips on using named tuples and data frames effectively. He also discusses the significance of CI/CD practices and how to properly deploy changes.

## Navigation

- Previous lesson: [Apache Spark Unit Testing Day 3 Lecture](https://www.dataexpert.io/lesson/apache-spark-unit-testing-day-3-lecture-jan2025.md)
- Next lesson: [Snowflake Lecture](https://www.dataexpert.io/lesson/snowflake-lecture-jan2025.md)
