Development of a tool for auto-generation of unit tests using genetic algorithms in the Java language
Jazyk: | ruština |
---|---|
Rok vydání: | 2022 |
Předmět: | |
DOI: | 10.18720/spbpu/3/2022/vr/vr22-3923 |
Popis: | Тема вÑпÑÑкной квалиÑикаÑионной ÑабоÑÑ: «РазÑабоÑка инÑÑÑÑменÑа Ð´Ð»Ñ Ð°Ð²ÑогенеÑаÑии модÑлÑнÑÑ ÑеÑÑов Ñ Ð¸ÑполÑзованием генеÑиÑеÑÐºÐ¸Ñ Ð°Ð»Ð³Ð¾ÑиÑмов на ÑзÑке Java». ÐÐ°Ð½Ð½Ð°Ñ ÑабоÑа поÑвÑÑена изÑÑÐµÐ½Ð¸Ñ ÑÑÑеÑÑвÑÑÑÐ¸Ñ Ð¼ÐµÑодов ÑеÑÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¿ÑогÑаммного обеÑпеÑÐµÐ½Ð¸Ñ Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ Ð¸ÑкÑÑÑÑвенного инÑеллекÑа и ÑазÑабоÑке инÑÑÑÑменÑа Ð´Ð»Ñ Ð°Ð²ÑогенеÑаÑии модÑлÑнÑÑ ÑеÑÑов Ñ Ð¸ÑполÑзованием генеÑиÑеÑÐºÐ¸Ñ Ð°Ð»Ð³Ð¾ÑиÑмов на ÑзÑке Java. ÐадаÑи, коÑоÑÑе ÑеÑалиÑÑ Ð² Ñ Ð¾Ð´Ðµ иÑÑледованиÑ: ÐÐ±Ð·Ð¾Ñ ÑÑÑеÑÑвÑÑÑÐ¸Ñ Ð¿Ð¾Ð´Ñ Ð¾Ð´Ð¾Ð² в ÑеÑÑиÑовании пÑогÑаммного обеÑпеÑениÑ. ÐÑÑледование акÑÑалÑнÑÑ Ð¼ÐµÑодов ÑеÑÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¿ÑогÑаммного обеÑпеÑÐµÐ½Ð¸Ñ Ñ Ð¸ÑполÑзованием иÑкÑÑÑÑвенного инÑеллекÑа. РазÑабоÑка ÑÑ ÐµÐ¼Ñ Ð¸Ð½ÑÑÑÑменÑа авÑогенеÑаÑии модÑлÑнÑÑ ÑеÑÑов. РазÑабоÑка и ÑеализаÑÐ¸Ñ Ð³ÐµÐ½ÐµÑиÑеÑкого алгоÑиÑма авÑогенеÑаÑии модÑлÑнÑÑ ÑеÑÑов. ÐпÑеделение каÑеÑÑва ÑазÑабоÑанной пÑогÑаммÑ. РазÑабоÑка обÑей меÑодики ÑеÑÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¿ÑогÑамм. ТеÑÑиÑование Ñ Ð¸ÑполÑзованием ÑазÑабоÑанной меÑодики. Ð ÑезÑлÑÑаÑе пÑоделанной ÑабоÑÑ Ð¿Ð¾Ð»ÑÑен Ð½Ð°Ð±Ð¾Ñ Ð¼ÐµÑодов авÑомаÑиÑеÑкого модÑлÑного ÑеÑÑиÑованиÑ, акÑÑалÑнÑÑ Ð´Ð»Ñ ÑеÑÐµÐ½Ð¸Ñ Ð¿Ñоблем ÑеÑÑиÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¿ÑогÑаммнÑÑ ÐºÐ¾Ð¼Ð¿Ð¾Ð½ÐµÐ½Ñов без ÑÑаÑÑÐ¸Ñ Ñеловека. РазÑабоÑан инÑÑÑÑÐ¼ÐµÐ½Ñ Ð´Ð»Ñ Ð°Ð²ÑомаÑиÑеÑкой генеÑаÑии модÑлÑнÑÑ ÑеÑÑов. ÐÐ»Ñ Ð¾Ð¿ÑÐµÐ´ÐµÐ»ÐµÐ½Ð¸Ñ ÐºÐ°ÑеÑÑва и ÑкоÑоÑÑи ÑазÑабоÑанной пÑогÑÐ°Ð¼Ð¼Ñ Ð²ÑÑиÑлена ÑÑнкÑÐ¸Ñ Ð¿ÑиÑпоÑобленноÑÑи, а Ñакже пÑоведено ÑеÑÑиÑование по ÑазÑабоÑанной меÑодике. The Theme of the final graduation research: «Development of a tool for auto-generation of unit tests using genetic algorithms in Java». This work is devoted to the study of existing software testing methods using artificial intelligence and the development of a tool for auto-generation of unit tests using genetic algorithms in Java. Tasks that were solved during the study: 1. Overview of existing approaches in software testing. 2. Research of actual methods of software testing using artificial intelligence. 3. Development of a scheme for the auto-generation of unit tests. 4. Development and implementation of a genetic algorithm for autogeneration of unit tests. 5. Determination of the quality of the developed program. 6. Development of a general methodology for testing programs. 7. Testing using the developed methodology. As a result of the work done, a set of automatic unit testing methods has been obtained that are relevant for solving the problems of testing software components without human intervention. A tool for automatic generation of unit tests has been developed. To determine the quality and speed of the developed program, the fitness function was calculated, and testing was carried out according to the developed methodology. |
Databáze: | OpenAIRE |
Externí odkaz: |