Yayın:
Automatic unit test generator software by collecting run-time data

dc.contributor.authorGenç, Sevdanur
dc.date.accessioned2026-01-04T19:52:51Z
dc.date.issued2024-01-01
dc.description.abstractQuality and productivity needs are considered together in software. For this reason, any existing software should be tested automatically with test automation. Software test automations is automated software testing activities. Automating constantly manually written tests, on the other hand, saves time, reduces error rates, produces better quality software, and reduces costs. This study aims to produce an automatic unit testing framework that is planned to work in run-time on software products. This developed application performs unit test transformations that can respond to the desired test scenarios on the product being studied.. Java agent is used as the basis of all these transformations. All information about the objects, methods, and variables of the sample java classes to be worked on is converted into data in run-time using byte code. During this transformation, information is saved in the database, and unit tests are created automatically through the template engine. Compared to the products developed on automatic unit test generation in the literature, the opcode parsing method was developed for this study. This method reads a byte code at run-time, uses the properties of the java class it belongs to, and automatically creates the unit test class and test methods. The study can also examine different object definitions and conditional and loop structures within a method and produce alternative test scenarios. The automatic unit test scenario produced has been turned into a flexible framework that can encounter minimum errors at run-time. Considering the scarcity of studies in the field of national software testing; It is thought that the automatic unit test generation product developed within the scope of this study, using byte code, will contribute to the work area.
dc.description.urihttps://doi.org/10.14744/sigma.2024.00084
dc.description.urihttps://dergipark.org.tr/tr/pub/sigma/issue/86513/1526956
dc.identifier.doi10.14744/sigma.2024.00084
dc.identifier.eissn1304-7205
dc.identifier.endpage1008
dc.identifier.openairedoi_dedup___::d9d9171040136287f88ca289fd269c08
dc.identifier.orcid0000-0003-4774-9265
dc.identifier.scopus2-s2.0-85200776637
dc.identifier.startpage988
dc.identifier.urihttps://hdl.handle.net/20.500.12597/41430
dc.identifier.wos001316114100004
dc.publisherKare Publishing
dc.relation.ispartofSigma Journal of Engineering and Natural Sciences – Sigma Mühendislik ve Fen Bilimleri Dergisi
dc.rightsOPEN
dc.subjectClinical Chemistry
dc.subjectByte Code
dc.subjectJava Agent
dc.subjectSoftware Testing
dc.subjectThe Opcode Parsing Method
dc.subjectUnit Test Generation
dc.subjectKlinik Kimya
dc.titleAutomatic unit test generator software by collecting run-time data
dc.typeArticle
dspace.entity.typePublication
local.api.response{"authors":[{"fullName":"Genç, Sevdanur","name":"Sevdanur","surname":"Genç","rank":1,"pid":{"id":{"scheme":"orcid","value":"0000-0003-4774-9265"},"provenance":null}}],"openAccessColor":"gold","publiclyFunded":false,"type":"publication","language":{"code":"und","label":"Undetermined"},"countries":null,"subjects":[{"subject":{"scheme":"keyword","value":"Clinical Chemistry"},"provenance":null},{"subject":{"scheme":"keyword","value":"Byte Code;Java Agent;Software Testing;The Opcode Parsing Method;Unit Test Generation"},"provenance":null},{"subject":{"scheme":"keyword","value":"Klinik Kimya"},"provenance":null}],"mainTitle":"Automatic unit test generator software by collecting run-time data","subTitle":null,"descriptions":["Quality and productivity needs are considered together in software. For this reason, any existing software should be tested automatically with test automation. Software test automations is automated software testing activities. Automating constantly manually written tests, on the other hand, saves time, reduces error rates, produces better quality software, and reduces costs. This study aims to produce an automatic unit testing framework that is planned to work in run-time on software products. This developed application performs unit test transformations that can respond to the desired test scenarios on the product being studied.. Java agent is used as the basis of all these transformations. All information about the objects, methods, and variables of the sample java classes to be worked on is converted into data in run-time using byte code. During this transformation, information is saved in the database, and unit tests are created automatically through the template engine. Compared to the products developed on automatic unit test generation in the literature, the opcode parsing method was developed for this study. This method reads a byte code at run-time, uses the properties of the java class it belongs to, and automatically creates the unit test class and test methods. The study can also examine different object definitions and conditional and loop structures within a method and produce alternative test scenarios. The automatic unit test scenario produced has been turned into a flexible framework that can encounter minimum errors at run-time. Considering the scarcity of studies in the field of national software testing; It is thought that the automatic unit test generation product developed within the scope of this study, using byte code, will contribute to the work area."],"publicationDate":"2024-01-01","publisher":"Kare Publishing","embargoEndDate":null,"sources":["Crossref","Volume: 42, Issue: 4988-1008","1304-7191","1304-7205","Sigma Journal of Engineering and Natural Sciences","Sigma Mühendislik ve Fen Bilimleri Dergisi"],"formats":["application/pdf"],"contributors":null,"coverages":null,"bestAccessRight":{"code":"c_abf2","label":"OPEN","scheme":"http://vocabularies.coar-repositories.org/documentation/access_rights/"},"container":{"name":"Sigma Journal of Engineering and Natural Sciences – Sigma Mühendislik ve Fen Bilimleri Dergisi","issnPrinted":null,"issnOnline":"1304-7205","issnLinking":null,"ep":"1008","iss":null,"sp":"988","vol":null,"edition":null,"conferencePlace":null,"conferenceDate":null},"documentationUrls":null,"codeRepositoryUrl":null,"programmingLanguage":null,"contactPeople":null,"contactGroups":null,"tools":null,"size":null,"version":null,"geoLocations":null,"id":"doi_dedup___::d9d9171040136287f88ca289fd269c08","originalIds":["10.14744/sigma.2024.00084","50|doiboost____|d9d9171040136287f88ca289fd269c08","oai:dergipark.org.tr:article/1526956","50|tubitakulakb::fefc98da32c242059de902a887133975"],"pids":[{"scheme":"doi","value":"10.14744/sigma.2024.00084"}],"dateOfCollection":null,"lastUpdateTimeStamp":null,"indicators":{"citationImpact":{"citationCount":0,"influence":2.5349236e-9,"popularity":2.4744335e-9,"impulse":0,"citationClass":"C5","influenceClass":"C5","impulseClass":"C5","popularityClass":"C5"}},"instances":[{"pids":[{"scheme":"doi","value":"10.14744/sigma.2024.00084"}],"type":"Article","urls":["https://doi.org/10.14744/sigma.2024.00084"],"publicationDate":"2024-01-01","refereed":"peerReviewed"},{"type":"Article","urls":["https://dergipark.org.tr/tr/pub/sigma/issue/86513/1526956"],"publicationDate":"2022-11-17","refereed":"nonPeerReviewed"}],"isGreen":false,"isInDiamondJournal":false}
local.import.sourceOpenAire
local.indexed.atWOS
local.indexed.atScopus

Dosyalar

Koleksiyonlar