🏠 Ana Sayfa
Benchmarklar
📊 Tüm Benchmarklar 🦖 Dinozor v1 🦖 Dinozor v2 ✅ To-Do List Uygulamaları 🎨 Yaratıcı Serbest Sayfalar 🎯 FSACB - Nihai Gösteri 🌍 Çeviri Benchmarkı
Modeller
🏆 En İyi 10 Model 🆓 Ücretsiz Modeller 📋 Tüm Modeller ⚙️ Kilo Code
Kaynaklar
💬 Prompt Kütüphanesi 📖 YZ Sözlüğü 🔗 Faydalı Bağlantılar
Intermédiaire

Générateur de Tests Python (Pytest)

#python #test #pytest #qa

Écrit des tests unitaires Python clairs avec le framework Pytest.

Voici une fonction Python : [CODE FONCTION] Écris une suite de tests utilisant `pytest`. - Utilise des `assert`. - Teste le cas nominal. - Teste un cas limite (edge case). - Utilise un `@pytest.mark.parametrize` pour tester plusieurs entrées d'un coup.