hands-on lab

Python: Unittest Practice

Advanced
Up to 3h
40
5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Sharpen your testing skills by implementing tests for an existing Python application.

This lab provides an opportunity to practice developing tests with Python's built-in unittest module. Included is a flask-based web application which enables authenticated users to apply an effect to uploaded images which are displayed in a grid.

Prerequisites:

Target Audience

  • Python Developers

About the author

Students
113,390
Labs
37
Courses
51
Learning paths
58

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered topics

Lab steps

Web IDE Review
Testing The User Management Module
Testing The Effects Module
Testing The WSGI Module
Solutions