AeroTools
Home AI Prompts Test-First Bug Fixing Approach

Test-First Bug Fixing Approach

chatgpt writing content 1 uses
Free
ما فائدة هذا البرومبت؟

برومبت متقدم لصياغة وتحسين المحتوى النصي والتسويقي لجذب العملاء وتصدر نتائج البحث الأولى.

أبرز حالات الاستخدام:
  • كتابة مقالات متوافقة مع معايير الـ SEO
  • صياغة منشورات تسويقية جذابة لمنصات التواصل
  • تحسين نبرة النصوص وإعادة صياغتها باحترافية
الفوائد والنتائج:
  • زيادة حركة المرور العضوية (Organic Traffic)
  • تحسين معدلات التحويل للمبيعات
  • إنتاج نصوص إبداعية وخالية من التكرار
الذكاء الاصطناعي الأفضل: ChatGPT Plus, Claude Pro, Gemini Advanced

Prompt

I have a bug: ${bug}. Take a test-first approach: 1) Read the relevant source files and existing tests. 2) Write a failing test that reproduces the exact bug. 3) Run the test suite to confirm it fails. 4) Implement the minimal fix. 5) Re-run the full test suite. 6) If any test fails, analyze the failure, adjust the code, and re-run—repeat until ALL tests pass. 7) Then grep the codebase for related code paths that might have the same issue and add tests for those too. 8) Summarize every change made and why. Do not ask me questions—make reasonable assumptions and document them.

Related Prompts

AeroTools

AeroAssistant

Online AI
Hello! I am your official AeroTools AI Assistant. How can I help you use our tools today?