Understandable Automatic Generated Unit Tests using Semantic and Format Improvement

Unit testing is the important yet the most laborious testing activity because the developer must create and execute unit tests for each class that is created. Unit tests can be created manually by the developer or automatically by using code-based test case generation techniques, such as random, sea...

Full description

Bibliographic Details
Main Authors: Setiani, Novi, Ferdiana, Ridi, Hartanto, Rudy
Format: Conference or Workshop Item
Language:English
Published: 2022
Subjects:
Online Access:https://repository.ugm.ac.id/282188/1/Setiani%20et%20al%20-%202022%20-Understandable_Automatic_Generated_Unit_Tests_using_Semantic_and_Format_Improvement.pdf
_version_ 1797037551430664192
author Setiani, Novi
Ferdiana, Ridi
Hartanto, Rudy
author_facet Setiani, Novi
Ferdiana, Ridi
Hartanto, Rudy
author_sort Setiani, Novi
collection UGM
description Unit testing is the important yet the most laborious testing activity because the developer must create and execute unit tests for each class that is created. Unit tests can be created manually by the developer or automatically by using code-based test case generation techniques, such as random, search-based, or symbolic execution techniques. The automatic generated testcases reducing developer effort in writing the unit test for every method and class. However, this automated unit test case more difficult to understand compared to manual unit test. After the unit tests are executed, the results must be validated or maintained by the developer team and they must understand the content of unit tests. This applies not only to the development phase but also to the software maintenance phase. Therefore, understandability is an important aspect that test cases need to have. To explore what kind of test cases are easy for developers to understand, a requirement gathering activities related to understandability improvement in unit test cases is conducted. This research involved the developers and experts in software development by exploring their opinion in semantic, format and function of automatic unit test cases. Based on expert's opinion and developer's interview, requirement list is mapped to the Evosuite and Randoop generated unit test case © 2022 IEEE.
first_indexed 2024-03-14T00:05:01Z
format Conference or Workshop Item
id oai:generic.eprints.org:282188
institution Universiti Gadjah Mada
language English
last_indexed 2024-03-14T00:05:01Z
publishDate 2022
record_format dspace
spelling oai:generic.eprints.org:2821882023-11-29T07:33:29Z https://repository.ugm.ac.id/282188/ Understandable Automatic Generated Unit Tests using Semantic and Format Improvement Setiani, Novi Ferdiana, Ridi Hartanto, Rudy Electrical and Electronic Engineering not elsewhere classified Unit testing is the important yet the most laborious testing activity because the developer must create and execute unit tests for each class that is created. Unit tests can be created manually by the developer or automatically by using code-based test case generation techniques, such as random, search-based, or symbolic execution techniques. The automatic generated testcases reducing developer effort in writing the unit test for every method and class. However, this automated unit test case more difficult to understand compared to manual unit test. After the unit tests are executed, the results must be validated or maintained by the developer team and they must understand the content of unit tests. This applies not only to the development phase but also to the software maintenance phase. Therefore, understandability is an important aspect that test cases need to have. To explore what kind of test cases are easy for developers to understand, a requirement gathering activities related to understandability improvement in unit test cases is conducted. This research involved the developers and experts in software development by exploring their opinion in semantic, format and function of automatic unit test cases. Based on expert's opinion and developer's interview, requirement list is mapped to the Evosuite and Randoop generated unit test case © 2022 IEEE. 2022 Conference or Workshop Item PeerReviewed application/pdf en https://repository.ugm.ac.id/282188/1/Setiani%20et%20al%20-%202022%20-Understandable_Automatic_Generated_Unit_Tests_using_Semantic_and_Format_Improvement.pdf Setiani, Novi and Ferdiana, Ridi and Hartanto, Rudy (2022) Understandable Automatic Generated Unit Tests using Semantic and Format Improvement. In: 6th International Conference on Informatics and Computational Sciences (ICICoS). https://ieeexplore.ieee.org/document/9930600
spellingShingle Electrical and Electronic Engineering not elsewhere classified
Setiani, Novi
Ferdiana, Ridi
Hartanto, Rudy
Understandable Automatic Generated Unit Tests using Semantic and Format Improvement
title Understandable Automatic Generated Unit Tests using Semantic and Format Improvement
title_full Understandable Automatic Generated Unit Tests using Semantic and Format Improvement
title_fullStr Understandable Automatic Generated Unit Tests using Semantic and Format Improvement
title_full_unstemmed Understandable Automatic Generated Unit Tests using Semantic and Format Improvement
title_short Understandable Automatic Generated Unit Tests using Semantic and Format Improvement
title_sort understandable automatic generated unit tests using semantic and format improvement
topic Electrical and Electronic Engineering not elsewhere classified
url https://repository.ugm.ac.id/282188/1/Setiani%20et%20al%20-%202022%20-Understandable_Automatic_Generated_Unit_Tests_using_Semantic_and_Format_Improvement.pdf
work_keys_str_mv AT setianinovi understandableautomaticgeneratedunittestsusingsemanticandformatimprovement
AT ferdianaridi understandableautomaticgeneratedunittestsusingsemanticandformatimprovement
AT hartantorudy understandableautomaticgeneratedunittestsusingsemanticandformatimprovement