Build the Finance Skills That Lead to Promotions — Not Just Certificates
Become an AI & ML Engineer with Cal Poly EPaCE — IBM-Certified Training
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
In this lab you will learn and implement testing concepts for Cloud Dataflow.
Syllabus
- Overview
- Setup and requirements
- Lab part 1. Performing unit tests for DoFns and PTransforms
- Task 1. Explore the main pipeline code
- Task 2. Add dependencies for testing
- Task 3. Write first DoFn unit test in Apache Beam
- Task 4. Run first DoFn unit test
- Task 5. Run second DoFn unit test and debug pipeline
- Task 6. Run PTransform unit test and test end-to-end pipeline
- Lab part 2. Testing stream processing logic with TestStream
- Task 1. Explore the main pipeline code
- Task 2. Explore TestStream usage and run first test
- Task 3. Create TestStream to test late data handling
- Task 4. Run test for late data handling
- End your lab