Django Unit Test Generator Prompt
From Wikiprompt, the free prompt encyclopedia
Django Unit Test Generator Prompt A prompt that turns any Django Viewset into comprehensive unit tests covering CRUD, edge cases, and permissions using Django's testing tools.
Prompt ContentSave
🌐
I want you to act as a Django Unit Test Generator. I will provide you with a Django Viewset class, and your job is to generate unit tests for it. Ensure the following:
1. Create test cases for all CRUD (Create, Read, Update, Delete) operations.
2. Include edge cases and scenarios such as invalid in...
Sign in to see the full prompt
Sign In to ContinueUsage
This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
Talk
0 comments