Skip to content

Python

Unit testing

Automate checks for function behavior, edge cases, and expected failures.

With Zoonk, your plan starts at this chapter and fits your schedule.

Build my plan

Start free, no account needed.

Where this chapter sits in the course

Lessons

Chapter 22 of 22 · 6 short lessons · 22 min
  1. 1Unit tests with unittest4 min
  2. 2Test cases and edge cases3 min
  3. 3Testing exceptions3 min
  4. 4Test failure reports3 min
  5. 5Evaluating test assertions3 min
  6. 6Challenge: Unit testing6 min

What you'll learn

  • Write and run automated tests for function behavior
  • Test edge cases and expected errors
  • Interpret failures and assess test quality

Your plan from this chapter

It follows the course from here, at your pace, with reviews before you forget.

Build my plan

Start free, no account needed.