ReduSharptor is a tool that simplifies C# unit tests to aid developers in debugging. It uses the C# language features and compiler APIs to avoid generating non-compilable test variants. ReduSharptor takes the failing test, associated project file, and test name as input. It then parses the test and uses statement-level reductions through delta debugging to minimize the test while retaining failures. The tool was evaluated on 30 failing tests from 5 open-source projects, achieving 96.58% precision and 96.45% recall in simplifying tests.
Related topics: