Dissertation/ Thesis
Analysis and validation of test case redundancy in testing suites of Java libraries ; Análise e validação de redundância em casos de teste em suítes de bibliotecas Java
| Τίτλος: | Analysis and validation of test case redundancy in testing suites of Java libraries ; Análise e validação de redundância em casos de teste em suítes de bibliotecas Java |
|---|---|
| Συγγραφείς: | Wolfart, Murilo |
| Συνεισφορές: | Cota, Erika Fernandes |
| Έτος έκδοσης: | 2021 |
| Συλλογή: | Universidade Federal do Rio Grande do Sul (UFRGS): Lume |
| Θεματικοί όροι: | Test suites, Java Libraries, Prime Path Coverage, Test case redundancy, Desenvolvimento : Software, Teste : Software |
| Περιγραφή: | When studying the test suites from some Java libraries, it is possible to observe a certain redundancy in the execution paths that some of the test cases take, whose reason is not known. In order to understand this issue, we establish two hypotheses: one that this redundancy happens due to the suite being an automatically generated suite, and one that it comes from test cases that test inputs of different natures, such as empty strings or null strings. To validate these hypotheses, we perform a detailed study by analysing the behavior of the test cases and the associated application code. We consider a code coverage criterion, computed by generating the test path of each test case in the suite and comparing these with the prime path coverage of the tested methods. For this procedure we first adapted a coverage analysis tool that considers the prime path coverage criterion, and afterwards we collected additional data about the application code and the test suite in order to understand the rationale behind the tests. Finally, a manual analysis is made in the source code of the methods being tested and their respective test cases. Results show that the projects’ suites are closer to a developer-implemented suite, and not a generated one. It also shows that, when studying the tests with redundant test paths, most consist of cases that test different types of input - our second hypothesis. There are some cases that do not have a clear purpose and test very similar inputs, with some being even duplicated, but this occurs in a considerably insignificant scale. ; Ao estudar suítes de testes de algumas bibliotecas Java, é possível perceber uma certa redundância no caminho que alguns dos casos de teste tomam, cuja razão é desconhecida. A fim de entender este problema, estabelecemos duas hipóteses: uma de que esta redundância acontece devido à suíte ser automaticamente gerada utilizando uma ferramenta de geração automática de testes, e uma de que ela se origina em casos de teste que testam parâmetros de entrada de ... |
| Τύπος εγγράφου: | thesis |
| Περιγραφή αρχείου: | application/pdf |
| Γλώσσα: | English |
| Relation: | https://hdl.handle.net/10183/223588; 001127428 |
| Διαθεσιμότητα: | https://hdl.handle.net/10183/223588 |
| Rights: | Open Access |
| Αριθμός Καταχώρησης: | edsbas.EDFB0DAB |
| Βάση Δεδομένων: | BASE |
| FullText | Text: Availability: 0 CustomLinks: – Url: https://hdl.handle.net/10183/223588# Name: EDS - BASE (ns324271) Category: fullText Text: View record from BASE |
|---|---|
| Header | DbId: edsbas DbLabel: BASE An: edsbas.EDFB0DAB RelevancyScore: 828 AccessLevel: 3 PubType: Dissertation/ Thesis PubTypeId: dissertation PreciseRelevancyScore: 828.347900390625 |
| IllustrationInfo | |
| Items | – Name: Title Label: Title Group: Ti Data: Analysis and validation of test case redundancy in testing suites of Java libraries ; Análise e validação de redundância em casos de teste em suítes de bibliotecas Java – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22Wolfart%2C+Murilo%22">Wolfart, Murilo</searchLink> – Name: Author Label: Contributors Group: Au Data: Cota, Erika Fernandes – Name: DatePubCY Label: Publication Year Group: Date Data: 2021 – Name: Subset Label: Collection Group: HoldingsInfo Data: Universidade Federal do Rio Grande do Sul (UFRGS): Lume – Name: Subject Label: Subject Terms Group: Su Data: <searchLink fieldCode="DE" term="%22Test+suites%22">Test suites</searchLink><br /><searchLink fieldCode="DE" term="%22Java+Libraries%22">Java Libraries</searchLink><br /><searchLink fieldCode="DE" term="%22Prime+Path+Coverage%22">Prime Path Coverage</searchLink><br /><searchLink fieldCode="DE" term="%22Test+case+redundancy%22">Test case redundancy</searchLink><br /><searchLink fieldCode="DE" term="%22Desenvolvimento+%3A+Software%22">Desenvolvimento : Software</searchLink><br /><searchLink fieldCode="DE" term="%22Teste+%3A+Software%22">Teste : Software</searchLink> – Name: Abstract Label: Description Group: Ab Data: When studying the test suites from some Java libraries, it is possible to observe a certain redundancy in the execution paths that some of the test cases take, whose reason is not known. In order to understand this issue, we establish two hypotheses: one that this redundancy happens due to the suite being an automatically generated suite, and one that it comes from test cases that test inputs of different natures, such as empty strings or null strings. To validate these hypotheses, we perform a detailed study by analysing the behavior of the test cases and the associated application code. We consider a code coverage criterion, computed by generating the test path of each test case in the suite and comparing these with the prime path coverage of the tested methods. For this procedure we first adapted a coverage analysis tool that considers the prime path coverage criterion, and afterwards we collected additional data about the application code and the test suite in order to understand the rationale behind the tests. Finally, a manual analysis is made in the source code of the methods being tested and their respective test cases. Results show that the projects’ suites are closer to a developer-implemented suite, and not a generated one. It also shows that, when studying the tests with redundant test paths, most consist of cases that test different types of input - our second hypothesis. There are some cases that do not have a clear purpose and test very similar inputs, with some being even duplicated, but this occurs in a considerably insignificant scale. ; Ao estudar suítes de testes de algumas bibliotecas Java, é possível perceber uma certa redundância no caminho que alguns dos casos de teste tomam, cuja razão é desconhecida. A fim de entender este problema, estabelecemos duas hipóteses: uma de que esta redundância acontece devido à suíte ser automaticamente gerada utilizando uma ferramenta de geração automática de testes, e uma de que ela se origina em casos de teste que testam parâmetros de entrada de ... – Name: TypeDocument Label: Document Type Group: TypDoc Data: thesis – Name: Format Label: File Description Group: SrcInfo Data: application/pdf – Name: Language Label: Language Group: Lang Data: English – Name: NoteTitleSource Label: Relation Group: SrcInfo Data: https://hdl.handle.net/10183/223588; 001127428 – Name: URL Label: Availability Group: URL Data: https://hdl.handle.net/10183/223588 – Name: Copyright Label: Rights Group: Cpyrght Data: Open Access – Name: AN Label: Accession Number Group: ID Data: edsbas.EDFB0DAB |
| PLink | https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=edsbas&AN=edsbas.EDFB0DAB |
| RecordInfo | BibRecord: BibEntity: Languages: – Text: English Subjects: – SubjectFull: Test suites Type: general – SubjectFull: Java Libraries Type: general – SubjectFull: Prime Path Coverage Type: general – SubjectFull: Test case redundancy Type: general – SubjectFull: Desenvolvimento : Software Type: general – SubjectFull: Teste : Software Type: general Titles: – TitleFull: Analysis and validation of test case redundancy in testing suites of Java libraries ; Análise e validação de redundância em casos de teste em suítes de bibliotecas Java Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: Wolfart, Murilo – PersonEntity: Name: NameFull: Cota, Erika Fernandes IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 01 Type: published Y: 2021 Identifiers: – Type: issn-locals Value: edsbas – Type: issn-locals Value: edsbas.oa |
| ResultId | 1 |