Practice ยท 2 of 2
Mini Build: Test Report Runner
CHALLENGE
Difficulty: beginner+25 XP
Write run_suite(cases) โ cases is a list of (label, callable, expected). For each, call it with NO arguments, compare to expected, and RETURN a dict {"passed": n, "failed": m, "failures": [labels of failed cases in order]}.
Press Submit to check your solution.
Back to lesson: Practice: Write Your Own Tests