Weber, David_MCS_2022

Title Weber, David_MCS_2022
Alternative Title Simplification of Developer-Written C# Unit Tests
Creator Weber, David
Collection Name Master of Computer Science
Description The following Master of Computer Science thesis explores the use of ReduSharptor to simplify debugging C# code.
Abstract Testing software is used to gain confidence about various systems in a software architecture. However, since these architectures can get complex, making them difficult to debug and their tests equally as difficult and time-consuming. One method to reduce time needed for this process is to simplify these unit tests to fewer statements. Delta Debugging (DD) and Hierarchical Delta Debugging (HDD) are examples of algorithms that are used to simplify these tests. DD takes a failing test case and simplified it down to the needed statements for that failing test. HDD is an improvement on the DD algorithm that can work on tree-like structures and can simplify source code, markup language, and other tree structured files. We propose a tool, ReduSharptor, used to simplify C# tests that utilizes language-specific features and the interdependence of C# program elements using the Roslyn compiler API. We evaluate this tool on 30 failing C# tests and demonstrate its applicability and accuracy.
Subject Computer science; Computational linguistics; Computer programming; Debugging in computer science
Keywords computer science, C#, programming languages, debugging code
Digital Publisher Stewart Library, Weber State University, Ogden, Utah, United States of America
Date 2023
Medium Thesis
Type Text
Access Extent 44 page PDF; 641 KB
Language eng
Rights The author has granted Weber State University Archives a limited, non-exclusive, royalty-free license to reproduce their theses, in whole or in part, in electronic or paper form and to make it available to the general public at no charge. The author retains all other rights.
Source University Archives Electronic Records: Master of Computer Science. Stewart Library, Weber State University
OCR Text Show
Format application/pdf
ARK ark:/87278/s6w5h2rt
Setname wsu_smt
ID 96889
Reference URL https://digital.weber.edu/ark:/87278/s6w5h2rt
Back to Search Results