Testing Quiz

Complete this assessment with 100% score to master this chapter.

01What is a 'unit test'?

02In pytest, which function is used to check if a value matches your expectation?

03What is a pytest fixture?

04How do you test that a function raises a specific exception in pytest?

05What is the purpose of @pytest.mark.parametrize?