🏠 Início
Avaliações
📊 Todos os Benchmarks 🦖 Dinossauro v1 🦖 Dinossauro v2 ✅ Aplicações To-Do List 🎨 Páginas Livres Criativas 🎯 FSACB - Showcase Definitivo 🌍 Benchmark de Tradução
Modelos
🏆 Top 10 Modelos 🆓 Modelos Gratuitos 📋 Todos os Modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de Prompts 📖 Glossário de IA 🔗 Links Úteis
Hard

Python Unit Test Generator

#python #testing #pytest #coding

Generates unit tests using the pytest framework for a given Python function.

Write comprehensive unit tests using the pytest framework for the following Python function. Include test cases for happy paths, edge cases (empty inputs, None), and expected error handling. Mock any external dependencies if necessary. [PYTHON FUNCTION]: