TY - JOUR ID - TI - تصميم أداة لتوليد حالات الاختبار باعتماد ذكاء السرب AU - شهباء إبراهيم خليل AU - أشرف عبد المنعم عبد المجيد PY - 2013 VL - 10 IS - 1 SP - 421 EP - 444 JO - AL-Rafidain Journal of Computer Sciences and Mathematics مجلة الرافدين لعلوم الحاسوب والرياضيات SN - 48161815 23117990 AB - In this research, the tools and techniques of artificial intelligence were studied and employed in software engineering. And that was conducted through using the Particle Swarm Optimization PSO and Cat Swarm Optimization CSO in generating optimal test cases of the software written with C++ language in an automatic way because that enables the corporation which develops the program to save time and costs as well as ensuring the test process quality, which is estimated by 50% of the product cost. In this research, the software engineering tool Generate Test Suite GTS TOOL was constructed and modeled with the aid of the computer, which is used to generate optimal test cases automatically and this tool also support the drawing of the control flowgraphs and paths inside the program and tests each path using CSO and PSO. The proposed tool succeeded in generating optimal test cases for several programs and in a very short time. The average of generating the test cases using PSO was 4 minutes and 1.2 minutes for CSO. Where the performance of the CSO was much better than the performance of PSO.

في هذا البحث تمت دراسة آليات الذكاء الاصطناعي وتقنياتها بغية توظيفها في خدمة هندسة البرمجيات، وقد أنجز ذلك من خلال استخدام خوارزمية سرب الطيور Particle swarm optimization PSO وخوارزمية سرب القطط cat swarm optimization CSO في توليد حالات الاختبار المثالية للبرمجيات المكتوبة بلغة C++ وبشكل تلقائي مما سيوفر للمؤسسة المطورة للبرمجيات الوقت والكلفة فضلاً عن ضمان جودة عملية الاختبار التي تقدر عادة بنحو 50% من كلفة إنتاج المنتج. وقد تم في هذا البحث نمذجة أداة هندسة البرمجيات بمساعدة الحاسوب Generate Test Suite GTS TOOL وبناؤها التي تستخدم في توليد حالات اختبار مثالية بشكل تلقائي وتدعم هذه الأداة أيضاً رسم مخطط تدفق السيطرة والمسارات داخل البرنامج فضلاً عن حالة الاختبار لكل مسار باستخدام،PSO وCSO. وقد نجحت الأداة المقترحة في توليد حالات اختبار مثالية لعدة برامج وبوقت قصير جداً، إذ كان معدل توليد حالات الاختبار باستخدام PSO 4 دقائق والـ CSO 1.2 دقيقة، حيث كان أداء الـ CSO أفضل بكثير من أداء الـPSO . ER -