>
Fa   |   Ar   |   En
   کاهش زمان آزمون بازگشت در روش تولید آزمون رانه  
   
نویسنده مافی زهره ,میریان حسین آبادی حسن
منبع فناوري اطلاعات و ارتباطات ايران - 1403 - دوره : 16 - شماره : 59-60 - صفحه:228 -239
چکیده    تولید ‌آزمون‌رانه یکی از شیوه های تولید نرم افزار اول آزمون است که در آن تولید هر جزء از کد با نوشتن آزمون شروع می‌گردد. این شیوه به دلیل مزایای زیاد از جمله تولید کد خوانا، منظم، کوتاه و همچنین بالا بردن کیفیت، بهره وری و قابلیت اطمینان کد و امکان آزمون بازگشت به دلیل ایجاد مجموعه‌ی جامع آزمون بازگشت، موردتوجه قرار گرفته است. تعداد زیاد موارد آزمون واحد تولیدشده در این روش به عنوان نقطه قوتی در جهت افزایش قابلیت اطمینان به کد مطرح است با این حال اجرای مکرر موارد آزمون، باعث بالا رفتن مدت زمان آزمون بازگشت در این شیوه است. هدف این مقاله ارائه الگوریتمی جهت انتخاب موارد آزمون جهت کاهش زمان ‌‌آزمون بازگشت در شیوه تولید ‌آزمون‌رانه است. تاکنون ایده های مختلفی برای انتخاب موارد آزمون و کاهش زمان آزمون بازگشت مطرح شده است. اغلب این ایده‌ها مبتنی بر زبان برنامه‌نویسی و شیوه تولید نرم‌افزار است. ایده ارائه شده در این مقاله مبتنی بر روش اختلاف برنامه و ماهیت شیوه تولید ‌آزمون‌رانه اتخاذ گردیده است.و ابزاری به صورت یک پلاگین در محیط eclipse برای برنامه های زبان جاوا نوشته شده است. ابزار ارائه شده از پنج مولفه اصلی 1) مدیریت نسخه های برنامه، 2) بلاک بندی کد تولید شده، 3) تشخیص بلاک های تغییریافته در هر نسخه نسبت به نسخه قبل، 4)ایجاد ارتباط معنایی بین آزمون های واحد و بلاک های کد و 5) انتخاب موارد آزمون تشکیل شده است.
کلیدواژه آزمون نرم افزار، تولید ‌‌آزمون رانه، ‌‌آزمون بازگشت، اختلاف دو برنامه، بخش بندی، کنترل نسخه
آدرس پژوهشگاه ارتباطات و فناوری اطلاعات, ایران. دانشگاه صنعتی شریف, ایران, دانشگاه صنعتی شریف, دانشکده مهندسی کامپیوتر, ایران
پست الکترونیکی hmirian@sharif.edu
 
   regression test time reduction in test driven development  
   
Authors mafi zohreh ,mirian mirian
Abstract    test-driven development (tdd) is one of the test-first software production methods in which the production of each component of the code begins with writing the test case. this method has been noticed due to many advantages, including the readable, regular, and short code, as well as increasing quality, productivity, and reliability. the large number of unit test cases produced in this method is considered as an advantage (increases the reliability of the code), however, the repeated execution of test cases increases the regression test time. the purpose of this article is to present an algorithm for selecting test cases to reduce the time of the regression test in the tdd method. so far, various ideas have been proposed to select test cases. most of these ideas are based on programming language and software production methods. the idea presented in this article is based on the program difference method and the nature of the tdd method, also a tool is written as a plugin in java eclipse. the provided tool consists of five main components: 1) version manager, 2) code segmentation, 3) code change detection (in each version compared to the previous version), 4) semantic connection creation (between unit tests and code blocks), and finally 5) test cases selection.
Keywords test driven development (tdd) ,unit test ,regression test ,program differencing ,segmentation ,version control
 
 

Copyright 2023
Islamic World Science Citation Center
All Rights Reserved