🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links
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]: