-
شماره ركورد
30352
-
پديد آورنده
سحر الطايي
-
عنوان
مقايسه توسعه مبتني بر آزمايش (TsDD) و توسعه آزمايش محور (TDD)
-
مقطع تحصيلي
كارشناسي ارشد
-
رشته تحصيلي
مهندسي كامپيوتر- نرمافزار
-
سال تحصيل
1399
-
تاريخ دفاع
1402/10/6
-
استاد راهنما
سعيد پارسا
-
دانشكده
پرديس دانشگاهي - دانشكده مهندسي كامپيوتر
-
چكيده
توسعه آزمون محور به عنوان هسته مركزي روش¬هاي سريع يا در اصطلاح اجايل تاكيد بر توليد توابع آزمون و كلاس¬هاي آزمون قبل از نوشتن كد را دارد. در اينگونه روش¬ها طراحي نرم افزار مبتني بر سعي و خطا و با توجه به نتايج آزمون تكميل مي شود. تعدد آزمون در اينگونه روش ها مي تواند بسيار زمانبر و در تناقض با ايده اصلي اينگونه روش ها مبتني بر توليد سريع نرم افزار باشد. بخصوص برنامه هايي كه براي محاسبات علمي و يا يادگيري ماشين نوشته مي شوند ممكن است براي هر اجرا به زمان زيادي نياز داشته باشند. در اين راستا روش نويني توسط استاد راهنما تحت عنوان توسعه مبتني بر قابليت آزمون (TsDD) ارايه شده است. هدف در اين پايان نامه ارزيابي روش نوين مبتني بر آزمون پذيري بر اساس مقايسه آن با روش شناخته شده و رايج توسعه مبتني بر آزمون است. جهت بررسي ميزان آزمون پذيري مدلي ارايه شده است كه به طور ايستا و بدون نياز به اجراي كد، ميزان آزمون پذيري آن را ارزيابي مي كند. در صورت نياز كد بازسازي يا در اصطلاح ريفكتور مي شود تا ميزان آزمون پذيري آن به حد مناسب برسد. در اين صورت اطمينان حاصل مي گردد كه آزمون انجام شده موثر خواهد بود. نكته قابل توجه در اينجاست كه دسته بندي خاصي براي انواع روش هاي خودكار باز سازي وجود ندارد و مشخص نشده است كه هر بازسازي چه كيفيتي را بهبود مي بخشد، لذا، در اين رساله سعي شده روش هاي بازسازي موقر بر آزمون پذيري مشخص گردند. نكته ديگر در اينجاست كه ممكن است تاثير يك بازسازي براي بهبود يك معيار كيفي در تناقض و موجب كاهش صفات كيفي ديگر شود. لذا، در روش توسعه مبتني بر آزمون پذيري سعي پيشنهاد مي شود كه پس از خاتمه مرحله آزمون با توحه به معيارهاي كيفي مد نظر، ميزان كيفيت اندازه گيري و ئر صورت نياز كد بازسازي گردد. در بررسي آماري انجام شده در اين پروژه توانستيم در طي فرايند مبتني بر آزمون پذيري ميزان پوشش كد در جيسون كه يك ابزار مرك افزاري شناخته شده است را از 0.899009 به مقدار 0.915025 افزايش دهيم. به طوز متوسط ميزان بهبود در آزمون پذيري سه بسته شناخته شده و حرفه اي 12.54 بوده است كه زمان آزمون را تا 8.96 در صد براي اين سه بسته شناخته شده بهبود داده است
-
تاريخ ورود اطلاعات
1402/10/20
-
عنوان به انگليسي
ON COMPARISON OF TESTABLE DRIVEN DEVELOPMENT (TsDD) WITH TEST-DRIVEN DEVELOPMENT (TDD)
-
تاريخ بهره برداري
12/26/2024 12:00:00 AM
-
دانشجوي وارد كننده اطلاعات
سحر الطايي
-
چكيده به لاتين
Test-oriented development as the central core of fast methods or in the term agile emphasizes the generation of test functions and test classes before writing the code. In these methods, the software design is completed based on trial and error and according to the test results. The multiplicity of tests in such methods can be very time-consuming and in contradiction with the main idea of such methods based on rapid software production. Especially the programs that are written for scientific calculations or machine learning may need a lot of time for each execution. In this regard, a new method has been presented by the supervisor under the title of test capability-based development (TsDD). The purpose of this thesis is to evaluate the new method based on testability based on its comparison with the well-known and common method of test-based development. In order to check the level of testability, a model has been presented that evaluates the level of testability statically and without the need to execute the code. If needed, the code is rebuilt or in other words refactored so that its testability reaches the appropriate level. In this case, it is ensured that the test will be effective. The noteworthy point here is that there is no specific classification for the types of automatic reconstruction methods and it has not been determined what quality each reconstruction improves, therefore, in this treatise, we have tried to specify reconstruction methods based on testability. Another point here is that the effect of a renovation to improve one quality criterion may be contradictory and cause the reduction of other quality attributes. Therefore, in the development method based on testability, it is suggested that after the end of the test phase, the quality of measurement is measured and the code is rebuilt if necessary. In the statistical analysis conducted in this project, we were able to increase the amount of code coverage in Jason, which is a well-known software tool, from 0.899009 to 0.915025 during the process based on testability. On average, the improvement in testability of three well-known and professional packages has been 12.54, which has improved the test time by 8.96 percent for these three well-known packages.
-
كليدواژه هاي فارسي
يادگيري ماشين , توسعه مبتني بر قابليت آزمون
-
كليدواژه هاي لاتين
machine learnning , testability driven development
-
Author
Sahar Altaei
-
SuperVisor
Dr. Saeed Parsa
-
لينک به اين مدرک :