AuMi-Tests: Automated Generation of a Regression Test Suite for Libraries by Mining Tests from Open Source Client Projects

Show simple item record

dc.contributor.advisor Blincoe, Kelly
dc.contributor.advisor Terragni, Valerio
dc.contributor.author Deshmukh, Chinmay
dc.date.accessioned 2022-07-13T23:18:28Z
dc.date.available 2022-07-13T23:18:28Z
dc.date.issued 2022 en
dc.identifier.uri https://hdl.handle.net/2292/60412
dc.description Full Text is available to authenticated members of The University of Auckland only. en
dc.description.abstract Regression testing is one of the testing practices used by developers to ensure that their program runs as expected. As the program evolves, it takes more work and effort for developers to update and maintain a regression test suite. Researchers have developed techniques to automate the generation of tests to help reduce that workload. However, the generated tests are often semantically meaningless and do not show the canonical usage of a class under test. In this thesis, we propose AuMi-Tests, a novel technique that generates a regression test suite for a given library by mining developer-written tests from open source projects which use that library. This technique leverages the popularity of open source development in the last decade. Because developers wrote them, the tests from a test suite generated with our approach are likely to be semantically meaningful. They will demonstrate real-world usage of the library to its developers as well. We implemented our technique into a prototype tool and tested it on 22 different subject libraries to evaluate its effectiveness. Our findings showed that a test suite generated for a library through this technique could complement the existing library tests and tests generated through stateof- the-art automated test suite generators for that library to a certain degree.
dc.publisher ResearchSpace@Auckland en
dc.relation.ispartof Masters Thesis - University of Auckland en
dc.relation.isreferencedby UoA en
dc.rights Restricted Item. Full Text is available to authenticated members of The University of Auckland only. en
dc.rights Items in ResearchSpace are protected by copyright, with all rights reserved, unless otherwise indicated.
dc.rights.uri https://researchspace.auckland.ac.nz/docs/uoa-docs/rights.htm en
dc.rights.uri http://creativecommons.org/licenses/by-nc-sa/3.0/nz/
dc.title AuMi-Tests: Automated Generation of a Regression Test Suite for Libraries by Mining Tests from Open Source Client Projects
dc.type Thesis en
thesis.degree.discipline Software Engineering
thesis.degree.grantor The University of Auckland en
thesis.degree.level Masters en
dc.date.updated 2022-06-14T05:24:35Z
dc.rights.holder Copyright: the author en


Files in this item

Find Full text

This item appears in the following Collection(s)

Show simple item record

Share

Search ResearchSpace


Browse

Statistics