Aan de slagGa gratis aan de slag

Test the string variable

Now you will start using fixtures in unittest. This time, the prepared environment is the word 'banana'. Thus, the setup part is the word initialization, and the teardown part removes the variable.

Deze oefening maakt deel uit van de cursus

Introduction to Testing in Python

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen