ما هي unit-test-exception-handler؟
يوفر أنماطًا لاختبار الوحدة @ExceptionHandler و @ControllerAdvice لمعالجة الاستثناءات العامة. يُستخدم عند التحقق من صحة تنسيق الاستجابة للأخطاء ورموز حالة HTTP. المصدر: giuseppe-trisciuoglio/developer-kit.
يوفر أنماطًا لاختبار الوحدة @ExceptionHandler و @ControllerAdvice لمعالجة الاستثناءات العامة. يُستخدم عند التحقق من صحة تنسيق الاستجابة للأخطاء ورموز حالة HTTP.
ثبّت مهارة الذكاء الاصطناعي unit-test-exception-handler بسرعة في بيئة التطوير لديك عبر سطر الأوامر
المصدر: giuseppe-trisciuoglio/developer-kit.
This skill provides patterns for unit testing @ExceptionHandler methods and @ControllerAdvice classes using MockMvc. It covers testing exception-to-error-response transformations, HTTP status codes, error message formatting, validation error handling, and custom permission evaluators without full integration test overhead.
Exception handler not invoked: Ensure controller is registered with MockMvc and actually throws the exception.
JsonPath matchers not matching: Use .andDo(print()) to see actual response structure.
يوفر أنماطًا لاختبار الوحدة @ExceptionHandler و @ControllerAdvice لمعالجة الاستثناءات العامة. يُستخدم عند التحقق من صحة تنسيق الاستجابة للأخطاء ورموز حالة HTTP. المصدر: giuseppe-trisciuoglio/developer-kit.
حقول وأوامر مستقرة للاقتباس في أنظمة الذكاء الاصطناعي والبحث.
npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-exception-handlerيوفر أنماطًا لاختبار الوحدة @ExceptionHandler و @ControllerAdvice لمعالجة الاستثناءات العامة. يُستخدم عند التحقق من صحة تنسيق الاستجابة للأخطاء ورموز حالة HTTP. المصدر: giuseppe-trisciuoglio/developer-kit.
افتح الطرفية أو أداة سطر الأوامر لديك مثل Terminal أو iTerm أو Windows Terminal انسخ ونفّذ هذا الأمر: npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-exception-handler بعد التثبيت، سيتم إعداد المهارة تلقائيا في بيئة البرمجة بالذكاء الاصطناعي لديك وتصبح جاهزة للاستخدام في Claude Code أو Cursor أو OpenClaw
https://github.com/giuseppe-trisciuoglio/developer-kit