Checking Exceptions
Learn various approaches for checking whether an exception is raised in a test in this lesson.
Checking that an exception is raised
The project for this lesson is similar to the last lesson, but this time searchPeople
raises an exception when no matches are found.
A copy of the starter code is in the code widget below:
Get hands-on with 1200+ tech skills courses.