{"id":{"repo_id":"rit","oai_identifier":"oai:repository.rit.edu:theses-12186"},"canonical_url":"https://search.ndltd.org/etd/rit/oai:repository.rit.edu:theses-12186","repository":{"repo_id":"rit","name":"Rochester Institute of Technology","base_url":"https://repository.rit.edu/do/oai/"},"display":{"title":"Test Naming Failures. An Exploratory Study of Bad Naming Practices in Test Code","abstract":"Unit tests are a key component during the software development process, helping ensure that a developer's code is functioning as expected. Developers interact with unit tests when trying to understand, maintain, and when updating code. Good test names are essential for making these various processes easier, which is important considering the substantial costs and effort of software maintenance. Despite this, it has been found that the quality of test code is often lacking, specifically when it comes to test names. When a test fails, its name is often the first thing developers will see when trying to fix the failure, therefore it is important that names are of high quality in order to help with the debugging process. The objective of this work was to find anti-patterns having to do with test method names that may have a negative impact on developer comprehension. In order to do this, a grounded theory study was conducted on 12 open-source Java and C# GitHub projects. From this dataset, many patterns were discovered to be common throughout the test code. Some of these patterns fit the necessary criteria of anti-patterns that would probably hinder developer comprehension. With the avoidance of these anti-patterns it is believed that developers will be able to write better test names that can help speed the time to debug errors as test names will be more comprehensive.","abstract_html":"Unit tests are a key component during the software development process, helping ensure that a developer&#x27;s code is functioning as expected. Developers interact with unit tests when trying to understand, maintain, and when updating code. Good test names are essential for making these various processes easier, which is important considering the substantial costs and effort of software maintenance. Despite this, it has been found that the quality of test code is often lacking, specifically when it comes to test names. When a test fails, its name is often the first thing developers will see when trying to fix the failure, therefore it is important that names are of high quality in order to help with the debugging process. The objective of this work was to find anti-patterns having to do with test method names that may have a negative impact on developer comprehension. In order to do this, a grounded theory study was conducted on 12 open-source Java and C# GitHub projects. From this dataset, many patterns were discovered to be common throughout the test code. Some of these patterns fit the necessary criteria of anti-patterns that would probably hinder developer comprehension. With the avoidance of these anti-patterns it is believed that developers will be able to write better test names that can help speed the time to debug errors as test names will be more comprehensive.","abstract_has_math":false,"creators":["Wigent, Zachariah"],"institution":null,"degree_name":"Software Engineering (MS)","degree_level":"Thesis","degree_discipline":"Software Engineering (GCCIS)","degree_department":null,"school":null,"contributors":["J Scott Hawker"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-19T09:04:53Z","subjects":["Software quality","Source code identifiers","Testing"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://repository.rit.edu/theses/11053","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://repository.rit.edu/theses/11053","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Arit%3Aoai%3Arepository.rit.edu%3Atheses-12186","prefix":"oai_dc"},"source_record":{"url":"https://repository.rit.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Arepository.rit.edu%3Atheses-12186","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["J Scott Hawker"]},{"key":"dc:creator","label":"Author","values":["Wigent, Zachariah"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["2021-12-23T08:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2021-12-01T08:00:00Z"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Software Engineering (GCCIS)"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Software Engineering (MS)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Software quality","Source code identifiers","Testing"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://repository.rit.edu/theses/11053"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Unit tests are a key component during the software development process, helping ensure that a developer's code is functioning as expected. Developers interact with unit tests when trying to understand, maintain, and when updating code. Good test names are essential for making these various processes easier, which is important considering the substantial costs and effort of software maintenance. Despite this, it has been found that the quality of test code is often lacking, specifically when it comes to test names. When a test fails, its name is often the first thing developers will see when trying to fix the failure, therefore it is important that names are of high quality in order to help with the debugging process. The objective of this work was to find anti-patterns having to do with test method names that may have a negative impact on developer comprehension. In order to do this, a grounded theory study was conducted on 12 open-source Java and C# GitHub projects. From this dataset, many patterns were discovered to be common throughout the test code. Some of these patterns fit the necessary criteria of anti-patterns that would probably hinder developer comprehension. With the avoidance of these anti-patterns it is believed that developers will be able to write better test names that can help speed the time to debug errors as test names will be more comprehensive."]},{"key":"dc:title","label":"Title","values":["Test Naming Failures. An Exploratory Study of Bad Naming Practices in Test Code"]}]}],"canonical_facts":{"dc:contributor":["J Scott Hawker"],"dc:creator":["Wigent, Zachariah"],"dc:date.available":["2021-12-23T08:00:00Z"],"dc:date.created":["2021-12-01T08:00:00Z"],"dc:description.abstract":["Unit tests are a key component during the software development process, helping ensure that a developer's code is functioning as expected. Developers interact with unit tests when trying to understand, maintain, and when updating code. Good test names are essential for making these various processes easier, which is important considering the substantial costs and effort of software maintenance. Despite this, it has been found that the quality of test code is often lacking, specifically when it comes to test names. When a test fails, its name is often the first thing developers will see when trying to fix the failure, therefore it is important that names are of high quality in order to help with the debugging process. The objective of this work was to find anti-patterns having to do with test method names that may have a negative impact on developer comprehension. In order to do this, a grounded theory study was conducted on 12 open-source Java and C# GitHub projects. From this dataset, many patterns were discovered to be common throughout the test code. Some of these patterns fit the necessary criteria of anti-patterns that would probably hinder developer comprehension. With the avoidance of these anti-patterns it is believed that developers will be able to write better test names that can help speed the time to debug errors as test names will be more comprehensive."],"dc:identifier":["https://repository.rit.edu/theses/11053"],"dc:subject":["Software quality","Source code identifiers","Testing"],"dc:title":["Test Naming Failures. An Exploratory Study of Bad Naming Practices in Test Code"],"thesis:degree_discipline":["Software Engineering (GCCIS)"],"thesis:degree_level":["Thesis"],"thesis:degree_name":["Software Engineering (MS)"]},"updated_at":"2026-11-19T09:04:53Z"}