🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki
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.