IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Introduction to Testing in Python

Visualizza il corso

Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio