MulaiMulai sekarang secara 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.

Latihan ini adalah bagian dari kursus

Introduction to Testing in Python

Lihat Kursus

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga